Fix before_logout hook for rememberable module

This commit is contained in:
brainopia
2010-12-22 05:00:34 +08:00
committed by José Valim
parent 15596f84e8
commit ef7de69119
2 changed files with 3 additions and 1 deletions

View File

@@ -67,5 +67,6 @@ class RememberMeTest < ActionController::IntegrationTest
get destroy_user_session_path
get users_path
assert_not warden.authenticated?(:user)
assert_equal cookies['remember_user_token'], ''
end
end