diff --git a/config/environments/test.rb b/config/environments/test.rb index 173d09fc405..49203a33a6a 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -35,6 +35,8 @@ Rails.application.configure do config.action_mailer.perform_caching = false + config.action_mailer.default_options = { from: 'notifications@localhost' } + # Tell Action Mailer not to deliver emails to the real world. # The :test delivery method accumulates sent emails in the # ActionMailer::Base.deliveries array.