Merge pull request #826 from robbkidd/notify_specs_use_host_from_config
Fix bug: Update Notify spec to use host set in config/gitlab.yml
This commit is contained in:
commit
ce2214a1f0
1 changed files with 1 additions and 1 deletions
|
@ -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