diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2012-07-11 02:07:25 +0200 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2012-07-11 02:07:25 +0200 |
commit | 542637e679d6acdf296bbd5ada36293e28617618 (patch) | |
tree | 8966d76a51f4cb7f712b35b9b206430712435fc9 /actionpack | |
parent | df40d79fdc376eae307830e1607ea7455e51280f (diff) | |
download | rails-542637e679d6acdf296bbd5ada36293e28617618.tar.gz rails-542637e679d6acdf296bbd5ada36293e28617618.tar.bz2 rails-542637e679d6acdf296bbd5ada36293e28617618.zip |
Fix indentation.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/controller/http_token_authentication_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/test/controller/http_token_authentication_test.rb b/actionpack/test/controller/http_token_authentication_test.rb index 6282ad8a1d..ad4e743be8 100644 --- a/actionpack/test/controller/http_token_authentication_test.rb +++ b/actionpack/test/controller/http_token_authentication_test.rb @@ -80,11 +80,11 @@ class HttpTokenAuthenticationTest < ActionController::TestCase end test "authentication request with badly formatted header" do - @request.env['HTTP_AUTHORIZATION'] = "Token foobar" - get :index + @request.env['HTTP_AUTHORIZATION'] = "Token foobar" + get :index - assert_response :unauthorized - assert_equal "HTTP Token: Access denied.\n", @response.body, "Authentication header was not properly parsed" + assert_response :unauthorized + assert_equal "HTTP Token: Access denied.\n", @response.body, "Authentication header was not properly parsed" end test "authentication request without credential" do |