Skip to content

Andrew miksch/em practical skills - #37

Open
superandrew123 wants to merge 9 commits into
cbartlett:masterfrom
superandrew123:andrew_miksch/em_practical_skills
Open

superandrew123 wants to merge 9 commits into
cbartlett:masterfrom
superandrew123:andrew_miksch/em_practical_skills

Conversation

@superandrew123

@superandrew123 superandrew123 commented Jul 23, 2024

Copy link
Copy Markdown

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
Copy Markdown
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