Skip to content

Dry controllers tests - #2

Open
MoacirPetry wants to merge 4 commits into
tiagoleal:masterfrom
MoacirPetry:dry-controllers-tests
Open

Dry controllers tests#2
MoacirPetry wants to merge 4 commits into
tiagoleal:masterfrom
MoacirPetry:dry-controllers-tests

Conversation

@MoacirPetry

Copy link
Copy Markdown
Contributor
  • Added the gem 'rails-controller-testing' to use the render_template.
  • Create the folder spec/support/shared_examples
  • Create the reusable test spec/support/shared_examples/index_examples.rb
  • Refactored the files spec/controllers/team_users_controller_spec.rb and spec/controllers/teams_controller_spec.rb
  • Tested and all working well 🎉 🎉 🎉

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.

1 participant