Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add mailer host to test environment

  • Loading branch information...
commit 7a1a35540f1a7f5300336197320be5d0cac2dcc6 1 parent b7fb065
Antonio Tapiador atd authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  spec/dummy/config/environments/test.rb
1  spec/dummy/config/environments/test.rb
@@ -28,6 +28,7 @@
# 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:3000' }
# Use SQL instead of Active Record's schema dumper when creating the test database.
# This is necessary if your schema can't be completely dumped by the schema dumper,
Please sign in to comment.
Something went wrong with that request. Please try again.