aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/rack_test.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-01-06 15:20:57 -0600
committerJoshua Peek <josh@joshpeek.com>2009-01-06 15:20:57 -0600
commitb7ea4add86231ef628d479516c8a09ca55e610bc (patch)
tree1f1096f4097aae35fade972f0096e8961bc24bf3 /actionpack/test/controller/rack_test.rb
parentce706b4b9be03a3f2e7d11438e6550d64c5f4461 (diff)
downloadrails-b7ea4add86231ef628d479516c8a09ca55e610bc.tar.gz
rails-b7ea4add86231ef628d479516c8a09ca55e610bc.tar.bz2
rails-b7ea4add86231ef628d479516c8a09ca55e610bc.zip
Bump Rack version to 0.9
Diffstat (limited to 'actionpack/test/controller/rack_test.rb')
-rw-r--r--actionpack/test/controller/rack_test.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/actionpack/test/controller/rack_test.rb b/actionpack/test/controller/rack_test.rb
index 31bff4ae6d..8fd004a9e9 100644
--- a/actionpack/test/controller/rack_test.rb
+++ b/actionpack/test/controller/rack_test.rb
@@ -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 }