Skip to content

Commit

Permalink
Fix middleware cache tests enabling rack_cache
Browse files Browse the repository at this point in the history
  • Loading branch information
guilleiguaran committed Oct 5, 2012
1 parent 8197b57 commit 37b3ed1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions railties/test/application/middleware/cache_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit 37b3ed1

Please sign in to comment.