Skip to content

Commit

Permalink
fix test for rack master (status 205 no longer is allowed to have a b…
Browse files Browse the repository at this point in the history
…ody)
  • Loading branch information
rkh committed Sep 14, 2011
1 parent 190d973 commit 27206ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/result_test.rb
Expand Up @@ -88,11 +88,11 @@ def res.each ; yield call ; end

it "sets status when result is a Fixnum status code" do
mock_app {
get('/') { 205 }
get('/') { 204 }
}

get '/'
assert_equal 205, status
assert_equal 204, status
assert_equal '', body
end
end

0 comments on commit 27206ab

Please sign in to comment.