README.rdoc in devise-0.6.3 vs README.rdoc in devise-0.7.0

- old
+ new

@@ -221,25 +221,24 @@ Take a look at our locale file to check all available messages. == Test helpers -Devise includes some tests helpers for functional specs. To use them, you just -need to include Devise::TestHelpers in your test class and use the sign_in and -sign_out method. Such methods have the same signature as in controllers: +Devise includes some tests helpers for functional specs. To use them, you just need to include Devise::TestHelpers in your test class and use the sign_in and sign_out method. Such methods have the same signature as in controllers: sign_in :user, @user # sign_in(scope, resource) sign_in @user # sign_in(resource) sign_out :user # sign_out(scope) sign_out @user # sign_out(resource) -You can include the Devise Test Helpers in all of your tests by adding the -following to the bottom of your test/test_helper.rb or spec/spec_helper.rb file: +You can include the Devise Test Helpers in all of your tests by adding the following to the bottom of your test/test_helper.rb or spec/spec_helper.rb file: class ActionController::TestCase include Devise::TestHelpers end + +Do not use such helpers for integration tests like Cucumber, Webrat... Just fill in the form or explicitly set the user in session. For more tips, check the wiki (http://wiki.github.com/plataformatec/devise). == Migrating from other solutions Devise implements encryption strategies for Clearance, Authlogic and Restful-Authentication. To make use of it set the desired encryptor in the encryptor initializer config option. You might also need to rename your encrypted password and salt columns to match Devises's one (encrypted_password and password_salt).