test/dummy/config/environments/test.rb in devise_token_auth-0.1.13 vs test/dummy/config/environments/test.rb in devise_token_auth-0.1.14
- old
+ new
@@ -28,9 +28,10 @@
# Tell Action Mailer not to deliver emails to the real world.
# The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array.
config.action_mailer.delivery_method = :test
+ config.action_mailer.default_url_options = { :host => 'localhost' }
# Print deprecation notices to the stderr.
config.active_support.deprecation = :stderr
# Raises error for missing translations