You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
5. In Rails 5.x, controller testing has been moved to its own gem which is [rails-controller-testing](https://github.com/rails/rails-controller-testing). Using `assigns` in your controller specs without adding this gem will no longer work.
93
+
6.`rspec-rails` now includes two helpers, `spec_helper.rb` and `rails_helper.rb`.
94
+
`spec_helper.rb` is the conventional RSpec configuration helper, whilst the
95
+
Rails specific loading and bootstrapping has moved to the `rails_helper.rb`
96
+
file. Rails specs now need this file required beforehand either at the top
97
+
of the specific file (recommended) or a common configuration location such
98
+
as your `.rspec` file.
93
99
94
100
Please see the [RSpec Rails Upgrade
95
101
docs](https://www.relishapp.com/rspec/rspec-rails/docs/upgrade) for full
0 commit comments