Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix test for rack master (status 205 no longer is allowed to have a b…

…ody)
  • Loading branch information...
commit 27206abaaa68e63a71cb2a051644e301a16cfb61 1 parent 190d973
Konstantin Haase rkh authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/result_test.rb
4 test/result_test.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.