aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/rack_test.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-01-06 15:36:38 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2009-01-06 15:36:38 -0800
commit851c3de5c973bf6c0abf2c3b24f1a71dafdcd97a (patch)
tree482f3ffc9108ba5723d9cfaa6d80d77399923170 /actionpack/test/controller/rack_test.rb
parent9b96e8d1ccb5b4548896b4100004e6371633f9fb (diff)
parentb7ea4add86231ef628d479516c8a09ca55e610bc (diff)
downloadrails-851c3de5c973bf6c0abf2c3b24f1a71dafdcd97a.tar.gz
rails-851c3de5c973bf6c0abf2c3b24f1a71dafdcd97a.tar.bz2
rails-851c3de5c973bf6c0abf2c3b24f1a71dafdcd97a.zip
Merge branch 'master' of git@github.com:rails/rails
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 }