aboutsummaryrefslogtreecommitdiffstats
path: root/config/environments/test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/environments/test.rb')
-rw-r--r--config/environments/test.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb
index 80ed940ca..a6db12006 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -30,6 +30,7 @@ Rails.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.default_options = { from: 'Stif BOIV <stif-boiv@af83.com>' }
# Print deprecation notices to the stderr.
config.active_support.deprecation = :stderr
@@ -71,8 +72,6 @@ Rails.application.configure do
# Configure the e-mail address which will be shown in Devise::Maile
config.mailer_sender = "appli@chouette.mobi"
-
- config.action_mailer.delivery_method = :sendmail
# change to true to allow email to be sent during development
config.action_mailer.perform_deliveries = false
config.action_mailer.raise_delivery_errors = false