diff --git a/README.rdoc b/README.rdoc index 69706e86..2e422c2e 100644 --- a/README.rdoc +++ b/README.rdoc @@ -264,7 +264,7 @@ You can include the Devise Test Helpers in all of your tests by adding the follo If you're using RSpec and want the helpers automatically included within all +describe+ blocks, add a file called spec/support/devise.rb with the following contents: RSpec.configure do |config| - config.include Devise::TestHelpers + config.include Devise::TestHelpers, :type => :controller end Do not use such helpers for integration tests such as Cucumber or Webrat. Instead, fill in the form or explicitly set the user in session. For more tips, check the wiki (http://wiki.github.com/plataformatec/devise).