Set config.active_support.deprecation to :stderr in test env

Otherwise calling `ActiveSupport::Deprecation.warn` leads to failing
tests
This commit is contained in:
Artur Beljajev 2018-11-29 15:32:24 +02:00
parent aa6e8f8a93
commit c20e077b65

View file

@ -16,7 +16,7 @@ Rails.application.configure do
config.action_mailer.delivery_method = :test
config.active_support.test_order = :random
config.active_support.deprecation = :raise
config.active_support.deprecation = :stderr
config.logger = ActiveSupport::Logger.new(nil)
config.action_view.raise_on_missing_translations = true