spec/tang_app/config/environments/test.rb in tang-0.0.1 vs spec/tang_app/config/environments/test.rb in tang-0.0.8
- 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', port: 3000 }
# Randomize the order test cases are executed.
config.active_support.test_order = :random
# Print deprecation notices to the stderr.