1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

added comment in README about controller tests for rails 5

This commit is contained in:
yusukemorita 2018-03-28 21:27:47 +09:00 committed by Leonardo Tegon
parent dac90eeb80
commit e9abba797a

View file

@ -514,6 +514,8 @@ cases/specs.
Controller tests require that you include `Devise::Test::ControllerHelpers` on
your test case or its parent `ActionController::TestCase` superclass.
For Rails 5, include `Devise::Test::IntegrationHelpers` instead, since the superclass
for controller tests has been changed to ActionDispatch::IntegrationTest.
```ruby
class PostsControllerTest < ActionController::TestCase