aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-12-12 14:03:50 -0800
committerJosé Valim <jose.valim@gmail.com>2011-12-12 14:03:50 -0800
commitffa8bfeed91a10c3566a95d159645fa20f75c429 (patch)
tree5c7bcee3abd2b895f1550baee8f668489b12ede3 /railties/test/application
parentfa1d9a884c0d5b70c97442e3360ac98ca5fa4340 (diff)
parent04d5eae4e835ead8ef785de4eb442893426f4b29 (diff)
downloadrails-ffa8bfeed91a10c3566a95d159645fa20f75c429.tar.gz
rails-ffa8bfeed91a10c3566a95d159645fa20f75c429.tar.bz2
rails-ffa8bfeed91a10c3566a95d159645fa20f75c429.zip
Merge pull request #3954 from bdurand/null_store_2
Add ActiveSupport::Cache::NullStore for testing and development
Diffstat (limited to 'railties/test/application')
-rw-r--r--railties/test/application/middleware/cache_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/application/middleware/cache_test.rb b/railties/test/application/middleware/cache_test.rb
index 050a2161ae..790c5b2d53 100644
--- a/railties/test/application/middleware/cache_test.rb
+++ b/railties/test/application/middleware/cache_test.rb
@@ -54,9 +54,9 @@ module ApplicationTests
def test_cache_keeps_if_modified_since
simple_controller
expected = "Wed, 30 May 1984 19:43:31 GMT"
-
+
get "/expires/keeps_if_modified_since", {}, "HTTP_IF_MODIFIED_SINCE" => expected
-
+
assert_equal 200, last_response.status
assert_equal expected, last_response.body, "cache should have kept If-Modified-Since"
end