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:
parent
dac90eeb80
commit
e9abba797a
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue