diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2015-07-05 13:53:20 +0200 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2015-07-05 13:53:20 +0200 |
commit | 90ebba68366223e5bd5a58f8e82c288713c21c5d (patch) | |
tree | 88d31202809890c193ac849691a3649ef1b739ad | |
parent | 798ad25f76bf6c954eb2923adb0452137b8f9925 (diff) | |
download | rails-90ebba68366223e5bd5a58f8e82c288713c21c5d.tar.gz rails-90ebba68366223e5bd5a58f8e82c288713c21c5d.tar.bz2 rails-90ebba68366223e5bd5a58f8e82c288713c21c5d.zip |
Fix the random caching test failure.
-rw-r--r-- | actionpack/test/controller/caching_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/controller/caching_test.rb b/actionpack/test/controller/caching_test.rb index f21dd87400..4f5af85fea 100644 --- a/actionpack/test/controller/caching_test.rb +++ b/actionpack/test/controller/caching_test.rb @@ -381,6 +381,7 @@ class AutomaticCollectionCacheTest < ActionController::TestCase @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 |