diff --git a/config/environments/test.rb b/config/environments/test.rb index a963c380d37..6b6b10a2eb4 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -18,6 +18,11 @@ config.public_file_server.enabled = true config.static_cache_control = "public, max-age=3600" + # Avoid potential warnings and race conditions + config.assets.configure do |env| + env.cache = ActiveSupport::Cache.lookup_store(:memory_store) + end + # Log error messages when you accidentally call methods on nil config.whiny_nils = true