mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Merge pull request #3941 from SimonDKnight/FixDocumentationTestHelpers
Added clarity to documentation regarding where to place test helpers …
This commit is contained in:
commit
1f36946f43
1 changed files with 1 additions and 1 deletions
|
@ -411,7 +411,7 @@ Caution: Devise Controllers inherit from ApplicationController. If your app uses
|
|||
|
||||
### Test helpers
|
||||
|
||||
Devise includes some test helpers for functional specs. In order to use them, you need to include Devise in your functional tests by adding the following to the bottom of your `test/test_helper.rb` file:
|
||||
Devise includes some test helpers for functional specs. In order to use them, you need to include Devise in your functional tests by adding the following to the bottom of your `test/test_helper.rb` file (make sure you place it out of scope of `ActiveSupport::TestCase` which is the default class inside of `test/test_helper.rb`):
|
||||
|
||||
```ruby
|
||||
class ActionController::TestCase
|
||||
|
|
Loading…
Reference in a new issue