summaryrefslogtreecommitdiff
path: root/test/functional/test_helpers_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/test_helpers_test.rb')
-rw-r--r--test/functional/test_helpers_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/test_helpers_test.rb b/test/functional/test_helpers_test.rb
index 845e516..ca85482 100644
--- a/test/functional/test_helpers_test.rb
+++ b/test/functional/test_helpers_test.rb
@@ -27,7 +27,7 @@ class TestHelpersTest < ActionController::TestCase
def test_login_adds_token_header
login
token_present = @controller.authenticate_with_http_token do |token, options|
- assert_equal @token.id, token
+ assert_equal @token.to_s, token
end
# authenticate_with_http_token just returns nil and does not
# execute the block if there is no token. So we have to also