From 0dd87789a13f8d841cfcb1a25ee0da5c3eb2dd65 Mon Sep 17 00:00:00 2001 From: Robb Kidd Date: Wed, 16 May 2012 11:25:18 -0400 Subject: [PATCH] Update Notify spec to use host set in config/gitlab.yml Fixes failing tests introduced in pull request #824 --- spec/mailers/notify_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') }