Fix the random caching test failure.
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user