From 542637e679d6acdf296bbd5ada36293e28617618 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Wed, 11 Jul 2012 02:07:25 +0200 Subject: Fix indentation. --- actionpack/test/controller/http_token_authentication_test.rb | 8 ++++---- 1 file 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 -- cgit v1.2.3