Skip to content

Conversation

@superandrew123
Copy link

@superandrew123 superandrew123 commented Jul 23, 2024

I worked on this for a bit longer than i should so came to a good stopping point rather than pushing for perfection. Here's my theoretical list of to-dos:

  • the controller action UsersArticlesController#create should get extracted into a creator service object with unit tests
  • set-up fakeweb, webmock, or vcr to get better tests around the external api
  • integration tests with capybara (this is a weak point in my skill set)

@superandrew123 superandrew123 marked this pull request as draft July 23, 2024 18:18
# your test database is "scratch space" for the test suite and is wiped
# and recreated between test runs. Don't rely on the data there!
config.cache_classes = true
# config.cache_classes = true
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change was needed for the test DB to create.

@superandrew123 superandrew123 marked this pull request as ready for review July 23, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants