summaryrefslogtreecommitdiff
path: root/users/test/functional
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-08-28 11:13:38 +0200
committerAzul <azul@leap.se>2013-09-03 08:36:17 +0200
commit42cef3117cd97d9c37968a8cf63d33b27b4b8ed2 (patch)
tree712cb953ec449c48d8589be0c3a74ab54592556d /users/test/functional
parent2875af7cf9fe22c40a3ea7c1cc34eb563a4f3eed (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.rb2
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