diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-05 12:04:29 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-05 12:04:29 -0700 |
commit | 2b83b07307c3e5552205f33e956d3785ed3e538b (patch) | |
tree | fd6ca5cc5e9b5f2166a1a9624ae5ffb2c43d0a91 /railties/test | |
parent | 8197b57c8fe62cc53e2416a076ae1c8613c0b537 (diff) | |
parent | 37b3ed17e0759a8f044d3c65cdd6201db3a4e244 (diff) | |
download | rails-2b83b07307c3e5552205f33e956d3785ed3e538b.tar.gz rails-2b83b07307c3e5552205f33e956d3785ed3e538b.tar.bz2 rails-2b83b07307c3e5552205f33e956d3785ed3e538b.zip |
Merge pull request #7854 from guilleiguaran/extract-rack-cache
Fix middleware cache tests enabling rack_cache
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/middleware/cache_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/test/application/middleware/cache_test.rb b/railties/test/application/middleware/cache_test.rb index 19d3f3a397..fffe79f9cc 100644 --- a/railties/test/application/middleware/cache_test.rb +++ b/railties/test/application/middleware/cache_test.rb @@ -49,6 +49,8 @@ module ApplicationTests get ':controller(/:action)' end RUBY + + add_to_config "config.action_dispatch.rack_cache = true" end def test_cache_keeps_if_modified_since |