Skip to content

Commit

Permalink
Build fix for logger_test
Browse files Browse the repository at this point in the history
Broke by d1cbcd7
  • Loading branch information
arunagw committed Sep 26, 2012
1 parent d1cbcd7 commit 0f08a7c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions railties/test/application/rack/logger_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,25 @@ def logs
test "logger logs proper HTTP GET verb and path" do
get "/blah"
wait
assert_match(/^Started GET "\/blah"/, logs[0])
assert_match(/^Started GET "\/blah"/, logs[1])
end

test "logger logs proper HTTP HEAD verb and path" do
head "/blah"
wait
assert_match(/^Started HEAD "\/blah"/, logs[0])
assert_match(/^Started HEAD "\/blah"/, logs[1])
end

test "logger logs HTTP verb override" do
post "/", {:_method => 'put'}
wait
assert_match(/^Started PUT "\/"/, logs[0])
assert_match(/^Started PUT "\/"/, logs[1])
end

test "logger logs HEAD requests" do
post "/", {:_method => 'head'}
wait
assert_match(/^Started HEAD "\/"/, logs[0])
assert_match(/^Started HEAD "\/"/, logs[1])
end
end
end
Expand Down

0 comments on commit 0f08a7c

Please sign in to comment.