Testing Controllers and Requests
]Learn about controller testing deprecation in Rails, and controller testing.
We'll cover the following...
Controller testing deprecation in Rails 5
The biggest change in Rails 5 or later testing compared to earlier versions is the deprecation of some controller-testing functionality. In this section, we’ll first look at the RSpec features in Rails 5; then, we’ll go back and look at how controller testing worked in previous versions of Rails.
Rails version 5 changes
For most of this course, we’ve focused on just what Rails 5 or later has to offer and not spent time comparing Rails 5 or later to previous versions. we are going to make a partial exception here and discuss the deprecated controller features as part of ...