Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

Fix middleware cache tests enabling rack_cache
  • Loading branch information...
commit 2b83b07307c3e5552205f33e956d3785ed3e538b 2 parents 8197b57 + 37b3ed1
@rafaelfranca rafaelfranca authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  railties/test/application/middleware/cache_test.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.