Bump Rack version to 0.9

This commit is contained in:
Joshua Peek
2009-01-06 15:20:57 -06:00
parent ce706b4b9b
commit b7ea4add86
4 changed files with 11 additions and 6 deletions

View File

@@ -236,7 +236,12 @@ class RackResponseTest < BaseRackTest
status, headers, body = @response.to_a
assert_equal 200, status
assert_equal({"Content-Type" => "text/html; charset=utf-8", "Cache-Control" => "no-cache", "Set-Cookie" => []}, headers)
assert_equal({
"Content-Type" => "text/html; charset=utf-8",
"Content-Length" => "",
"Cache-Control" => "no-cache",
"Set-Cookie" => []
}, headers)
parts = []
body.each { |part| parts << part }