Update Notify spec to use host set in config/gitlab.yml
Fixes failing tests introduced in pull request #824
This commit is contained in:
parent
caa065670e
commit
0dd87789a1
|
@ -5,7 +5,7 @@ describe Notify do
|
||||||
include EmailSpec::Matchers
|
include EmailSpec::Matchers
|
||||||
|
|
||||||
before :all do
|
before :all do
|
||||||
default_url_options[:host] = 'example.com'
|
default_url_options[:host] = EMAIL_OPTS['host']
|
||||||
end
|
end
|
||||||
|
|
||||||
let(:recipient) { Factory.create(:user, :email => 'recipient@example.com') }
|
let(:recipient) { Factory.create(:user, :email => 'recipient@example.com') }
|
||||||
|
|
Loading…
Reference in a new issue