OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Avois caching classes in test env if spring is disabled
Christophe Bliardf28b95b27f20
diff --git a/config/environments/test.rb b/config/environments/test.rbindex 3487e4f22fb..58a84b28d1e 100644--- a/config/environments/test.rb+++ b/config/environments/test.rb@@ -36,7 +36,10 @@ 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 = ENV['CI'].present?+ #+ # Spring requires to have the classes reloaded. On the CI or when Spring is+ # disabled, it does not need to happen.+ config.cache_classes = ENV['CI'].present? || ENV['DISABLE_SPRING'].present?# Use eager load to mirror the production environment# on travis