enable reloading in test env

Spring requires to have the classes reloaded. On the CI we don't need that to happen.
pull/9660/head
ulferts 3 years ago committed by Oliver Günther
parent 6003318564
commit 59969c114b
  1. 2
      config/environments/test.rb

@ -38,7 +38,7 @@ OpenProject::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 = ENV['CI'].present?
# Use eager load to mirror the production environment
# on travis

Loading…
Cancel
Save