Older Rails Controller Tests
Understand how Rails 4 controller tests operated, including HTTP verb simulation, parameter handling, session and flash arguments, and Ajax call testing. Learn why features like render_template and assigns were deprecated in Rails 5 and how integration and unit testing approaches cover their functionality.
In Rails 5, two features of controller ...