Permalink
Browse files

Fix middleware cache tests enabling rack_cache

  • Loading branch information...
1 parent 8197b57 commit 37b3ed17e0759a8f044d3c65cdd6201db3a4e244 @guilleiguaran guilleiguaran committed Oct 5, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 railties/test/application/middleware/cache_test.rb
@@ -49,6 +49,8 @@ def render_conditionally(headers)
get ':controller(/:action)'
end
RUBY
+
+ add_to_config "config.action_dispatch.rack_cache = true"
end
def test_cache_keeps_if_modified_since

0 comments on commit 37b3ed1

Please sign in to comment.