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'
This commit is contained in:
luisramos0
2019-04-06 20:28:57 +01:00
committed by Luis Ramos
parent 4ca9a19d8a
commit d1248c76fa

View File

@@ -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