From 374b163999ca45ad258d6e8673df2dd1149494c6 Mon Sep 17 00:00:00 2001 From: Kasper Timm Hansen Date: Mon, 15 Jun 2015 22:04:43 +0200 Subject: Fix flakyness. Brought on by my own stupidity :) --- actionpack/test/controller/caching_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/actionpack/test/controller/caching_test.rb b/actionpack/test/controller/caching_test.rb index de697858c3..f21dd87400 100644 --- a/actionpack/test/controller/caching_test.rb +++ b/actionpack/test/controller/caching_test.rb @@ -380,6 +380,7 @@ class AutomaticCollectionCacheTest < ActionController::TestCase @controller = CollectionCacheController.new @controller.perform_caching = true @controller.partial_rendered_times = 0 + @controller.cache_store = ActiveSupport::Cache::MemoryStore.new end def test_collection_fetches_cached_views -- cgit v1.2.3