Skip to content

Commit

Permalink
Fix indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
drogus committed Jul 11, 2012
1 parent df40d79 commit 542637e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions actionpack/test/controller/http_token_authentication_test.rb
Expand Up @@ -80,11 +80,11 @@ def authenticate_long_credentials
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
Expand Down

0 comments on commit 542637e

Please sign in to comment.