diff --git a/test/integration/forgot_password_test.rb b/test/integration/forgot_password_test.rb index 99a9ca2..a288487 100644 --- a/test/integration/forgot_password_test.rb +++ b/test/integration/forgot_password_test.rb @@ -32,7 +32,7 @@ class ForgotPasswordTest < ActionController::IntegrationTest assert_template 'new_password_ok' assert_tag :tag => 'a', :attributes => { :href => "/account/login" } - assert User.find_by_login('forgotten').authenticated?('newpass') + login('forgotten', 'newpass') end end -- libgit2 0.21.2