diff options
author | José Valim <jose.valim@gmail.com> | 2010-10-03 21:48:32 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-10-03 21:48:32 +0200 |
commit | 5f292c944155851df7e493f153cfb9d64c964388 (patch) | |
tree | 6adf5e0ff2c9fd6a198cd7faf30d294700a57096 /actionpack/test/dispatch/response_test.rb | |
parent | 5836af8f8b0eb3c569c66792abf50a0485bb6f22 (diff) | |
parent | 653acac069e66f53b791caa4838a1e25de905f31 (diff) | |
download | rails-5f292c944155851df7e493f153cfb9d64c964388.tar.gz rails-5f292c944155851df7e493f153cfb9d64c964388.tar.bz2 rails-5f292c944155851df7e493f153cfb9d64c964388.zip |
Merge branch 'racksession'
Diffstat (limited to 'actionpack/test/dispatch/response_test.rb')
-rw-r--r-- | actionpack/test/dispatch/response_test.rb | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/actionpack/test/dispatch/response_test.rb b/actionpack/test/dispatch/response_test.rb index cd0418c338..be6398fead 100644 --- a/actionpack/test/dispatch/response_test.rb +++ b/actionpack/test/dispatch/response_test.rb @@ -11,9 +11,7 @@ class ResponseTest < ActiveSupport::TestCase status, headers, body = @response.to_a assert_equal 200, status assert_equal({ - "Content-Type" => "text/html; charset=utf-8", - "Cache-Control" => "max-age=0, private, must-revalidate", - "ETag" => '"65a8e27d8879283831b664bd8b7f0ad4"' + "Content-Type" => "text/html; charset=utf-8" }, headers) parts = [] @@ -27,9 +25,7 @@ class ResponseTest < ActiveSupport::TestCase status, headers, body = @response.to_a assert_equal 200, status assert_equal({ - "Content-Type" => "text/html; charset=utf-8", - "Cache-Control" => "max-age=0, private, must-revalidate", - "ETag" => '"ebb5e89e8a94e9dd22abf5d915d112b2"' + "Content-Type" => "text/html; charset=utf-8" }, headers) end @@ -41,8 +37,7 @@ class ResponseTest < ActiveSupport::TestCase status, headers, body = @response.to_a assert_equal 200, status assert_equal({ - "Content-Type" => "text/html; charset=utf-8", - "Cache-Control" => "no-cache" + "Content-Type" => "text/html; charset=utf-8" }, headers) parts = [] |