Turn delivery errors off in test environment

This commit is contained in:
Eric Schultz 2019-01-28 14:07:34 -06:00 committed by Luis Castro
parent 3d27e97fee
commit 3f23b3df8e
No known key found for this signature in database
GPG key ID: 0A8F33D4C4E27639

View file

@ -30,6 +30,7 @@ Commitchange::Application.configure do
# The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array.
config.action_mailer.delivery_method = :test
config.action_mailer.raise_delivery_errors = false
# Print deprecation notices to the stderr.
config.active_support.deprecation = :stderr