diff --git a/core/lib/spree/testing_support/dummy_app.rb b/core/lib/spree/testing_support/dummy_app.rb index 8b9c4591235..7e2e7707f20 100644 --- a/core/lib/spree/testing_support/dummy_app.rb +++ b/core/lib/spree/testing_support/dummy_app.rb @@ -80,7 +80,7 @@ class Application < ::Rails::Application config.action_dispatch.show_exceptions = false end config.consider_all_requests_local = true - config.active_support.deprecation = :stderr + config.active_support.deprecation = ENV['RAILS_DEPRECATIONS_BEHAVIOR'].presence&.to_sym || :stderr config.log_level = :debug # Improve test suite performance: