Commit 0dd87789a13f8d841cfcb1a25ee0da5c3eb2dd65
1 parent
caa06567
Exists in
master
and in
4 other branches
Update Notify spec to use host set in config/gitlab.yml
Fixes failing tests introduced in pull request #824
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
spec/mailers/notify_spec.rb
@@ -5,7 +5,7 @@ describe Notify do | @@ -5,7 +5,7 @@ describe Notify do | ||
5 | include EmailSpec::Matchers | 5 | include EmailSpec::Matchers |
6 | 6 | ||
7 | before :all do | 7 | before :all do |
8 | - default_url_options[:host] = 'example.com' | 8 | + default_url_options[:host] = EMAIL_OPTS['host'] |
9 | end | 9 | end |
10 | 10 | ||
11 | let(:recipient) { Factory.create(:user, :email => 'recipient@example.com') } | 11 | let(:recipient) { Factory.create(:user, :email => 'recipient@example.com') } |