Enable RSpec/RailsControllerTesting RuboCop rule
What does this MR do and why?
This MR enables RSpec/RailsControllerTesting to flag use of assigns and render_template.
References
- Deprecate usage of assigns and render_template ... (#16260)
- http://blog.bigbinary.com/2016/04/19/changes-to-test-controllers-in-rails-5.html
- Transition from controller specs to request specs (&5076)
How to set up and validate locally
bundle exec rubocop --only RSpec/RailsControllerTesting
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Peter Leitzen