diff options
author | jessib <jessib@riseup.net> | 2013-09-03 10:43:34 -0700 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2013-09-03 10:43:34 -0700 |
commit | f3e17149116f6a3aeb87f8a6d0ecf29e8e33ad93 (patch) | |
tree | 2dfae950a25c5db22a456d96016898c5a9add5a6 /users/test/support | |
parent | f97777ed0252abe94f8d94cb4565fb5a6c35ab23 (diff) | |
parent | 42cef3117cd97d9c37968a8cf63d33b27b4b8ed2 (diff) |
Merge pull request #75 from azul/feature/token-expiry
Token expiry
Diffstat (limited to 'users/test/support')
-rw-r--r-- | users/test/support/auth_test_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/test/support/auth_test_helper.rb b/users/test/support/auth_test_helper.rb index 47147fc..609f115 100644 --- a/users/test/support/auth_test_helper.rb +++ b/users/test/support/auth_test_helper.rb @@ -41,7 +41,7 @@ module AuthTestHelper protected def header_for_token_auth - @token = find_record(:token, :user => @current_user) + @token = find_record(:token, :authenticate => @current_user) ActionController::HttpAuthentication::Token.encode_credentials @token.id end end |