Fix the random caching test failure.

This commit is contained in:
Kasper Timm Hansen 2015-07-05 13:53:20 +02:00
parent 798ad25f76
commit 90ebba6836

@ -381,6 +381,7 @@ def setup
@controller.perform_caching = true
@controller.partial_rendered_times = 0
@controller.cache_store = ActiveSupport::Cache::MemoryStore.new
ActionView::PartialRenderer.collection_cache = @controller.cache_store
end
def test_collection_fetches_cached_views