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
Correct the config.enable_reloading setting in the test environment
Dombi Attila2468cc9623f6
diff --git a/config/environments/test.rb b/config/environments/test.rbindex ac1970981f0..bf3f4497e10 100644--- a/config/environments/test.rb+++ b/config/environments/test.rb@@ -41,14 +41,13 @@ Rails.application.configure do# Spring requires to have the classes reloaded. On the CI or when Spring is# disabled, it does not need to happen.- config.enable_reloading = !(ENV['CI'].present? && ENV['DISABLE_SPRING'].present?)+ config.enable_reloading = !(ENV['CI'].present? || ENV['DISABLE_SPRING'].present?)# Eager loading loads your entire application. When running a single test locally,# this is usually not necessary, and can slow down your test suite. However, it's# recommended that you enable it in continuous integration systems to ensure eager# loading is working properly before deploying your code.config.eager_load = ENV['CI'].present? || ENV['EAGER_LOAD'].present?- config.cache_classes = ENV['CI'].present? || ENV['EAGER_LOAD'].present?# Configure public file server for tests with Cache-Control for performance.config.public_file_server.enabled = true