Use spec/rails_helper.rb for rspec-rails config.

This commit is contained in:
Abhinav 2014-10-03 10:13:36 -06:00
parent fd565c7efb
commit 6445e07791
1 changed files with 1 additions and 1 deletions

View File

@ -410,7 +410,7 @@ class ActionController::TestCase
end
```
If you're using RSpec, you can put the following inside a file named `spec/support/devise.rb` or in your `spec/spec_helper.rb`:
If you're using RSpec, you can put the following inside a file named `spec/support/devise.rb` or in your `spec/spec_helper.rb` (or `spec/rails_helper.rb` if you are using rspec-rails):
```ruby
RSpec.configure do |config|