Permalink
Browse files

Merge pull request #7854 from guilleiguaran/extract-rack-cache

Fix middleware cache tests enabling rack_cache
  • Loading branch information...
2 parents 8197b57 + 37b3ed1 commit 2b83b07307c3e5552205f33e956d3785ed3e538b @rafaelfranca rafaelfranca 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 2b83b07

Please sign in to comment.