Skip to content

Commit 2175c72

Browse files
Damian Simon PeterJonRowe
authored andcommitted
Update Readme (#1703)
- added changes to the Upgrade Note section about Rails 5 and controller testing
1 parent e8054a1 commit 2175c72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ There are three particular `rspec-rails` specific changes to be aware of:
8686
3. [Rails 4.x `ActiveRecord::Migration` pending migration checks](https://www.relishapp.com/rspec/rspec-rails/docs/upgrade#pending-migration-checks)
8787
4. Extraction of `stub_model` and `mock_model` to
8888
[`rspec-activemodel-mocks`](https://github.com/rspec/rspec-activemodel-mocks)
89+
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.
8990

9091
Please see the [RSpec Rails Upgrade
9192
docs](https://www.relishapp.com/rspec/rspec-rails/docs/upgrade) for full

0 commit comments

Comments
 (0)