Skip to content

Commit

Permalink
Merge pull request #6000 from tvdeyen/allow-raise-deprecations
Browse files Browse the repository at this point in the history
Allow to set Rails deprecations behavior during tests
  • Loading branch information
tvdeyen authored Dec 5, 2024
2 parents 4e7fe98 + 3510b9b commit 18fba3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/spree/testing_support/dummy_app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 18fba3e

Please sign in to comment.