Permalink
Browse files

Add mailer host to test environment

  • Loading branch information...
1 parent b7fb065 commit 7a1a35540f1a7f5300336197320be5d0cac2dcc6 @atd atd committed Jul 18, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 spec/dummy/config/environments/test.rb
View
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,

0 comments on commit 7a1a355

Please sign in to comment.