diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb index 065094e9..31b211b6 100644 --- a/spec/mailers/notify_spec.rb +++ b/spec/mailers/notify_spec.rb @@ -5,7 +5,7 @@ describe Notify do include EmailSpec::Matchers before :all do - default_url_options[:host] = 'example.com' + default_url_options[:host] = EMAIL_OPTS['host'] end let(:recipient) { Factory.create(:user, :email => 'recipient@example.com') }