Merge pull request #5912 from betagouv/dont-cache-classes-during-tests

Don't cache classes during tests
This commit is contained in:
Paul Chavard 2021-02-16 16:47:02 +01:00 committed by GitHub
commit 1b43cfb678
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@ Rails.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
# Do not eager load code on boot. This avoids loading your whole application
# just for the purpose of running a single test. If you are using a tool that