From d1248c76fab91e31eb3cf35641b1cb2516d2f435 Mon Sep 17 00:00:00 2001 From: luisramos0 Date: Sat, 6 Apr 2019 20:28:57 +0100 Subject: [PATCH] Temporarily disable caching classes in test to fix karma rake task This fixes the error "can't modify immutable index" in lib/tasks/karma.rake:25:in `application_spec_files' --- config/environments/test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/test.rb b/config/environments/test.rb index 299e2d9c19..030e29cb79 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -5,7 +5,7 @@ Openfoodnetwork::Application.configure do # test suite. You never need to work with it otherwise. Remember that # your test database is "scratch space" for the test suite and is wiped # and recreated between test runs. Don't rely on the data there! - config.cache_classes = true + config.cache_classes = false # Configure static asset server for tests with Cache-Control for performance config.serve_static_assets = true