diff options
author | Azul <azul@leap.se> | 2013-08-28 11:13:38 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-09-03 08:36:17 +0200 |
commit | 42cef3117cd97d9c37968a8cf63d33b27b4b8ed2 (patch) | |
tree | 712cb953ec449c48d8589be0c3a74ab54592556d /users/test/functional | |
parent | 2875af7cf9fe22c40a3ea7c1cc34eb563a4f3eed (diff) |
expire token according to config setting auth:token_expires_after
Diffstat (limited to 'users/test/functional')
-rw-r--r-- | users/test/functional/test_helpers_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/test/functional/test_helpers_test.rb b/users/test/functional/test_helpers_test.rb index 9bd01ad..845e516 100644 --- a/users/test/functional/test_helpers_test.rb +++ b/users/test/functional/test_helpers_test.rb @@ -21,7 +21,7 @@ class TestHelpersTest < ActionController::TestCase def test_login_stubs_token login assert @token - assert_equal @current_user, @token.user + assert_equal @current_user, @token.authenticate end def test_login_adds_token_header |