diff options
author | phoet <phoetmail@googlemail.com> | 2015-02-26 16:01:08 +0100 |
---|---|---|
committer | phoet <phoetmail@googlemail.com> | 2015-06-01 11:41:26 +0200 |
commit | 90918b5f227b77b8b4fead67cfcff9339cd13031 (patch) | |
tree | 34f409c71a566489c8c8f001d493347c9a5e05ef /actionpack | |
parent | c4cb751da695aa9d2cbe45adcf53afc3d268e4fa (diff) | |
download | rails-90918b5f227b77b8b4fead67cfcff9339cd13031.tar.gz rails-90918b5f227b77b8b4fead67cfcff9339cd13031.tar.bz2 rails-90918b5f227b77b8b4fead67cfcff9339cd13031.zip |
actually test what the name says
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/controller/http_token_authentication_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/http_token_authentication_test.rb b/actionpack/test/controller/http_token_authentication_test.rb index 2521f0322c..c854ecaf21 100644 --- a/actionpack/test/controller/http_token_authentication_test.rb +++ b/actionpack/test/controller/http_token_authentication_test.rb @@ -80,7 +80,7 @@ class HttpTokenAuthenticationTest < ActionController::TestCase end test "authentication request with badly formatted header" do - @request.env['HTTP_AUTHORIZATION'] = "Token foobar" + @request.env['HTTP_AUTHORIZATION'] = 'Token token$"lifo"' get :index assert_response :unauthorized |