summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorRobb Kidd <robb@thekidds.org>2012-05-16 11:25:18 -0400
committerRobb Kidd <robb@thekidds.org>2012-05-16 11:25:18 -0400
commit0dd87789a13f8d841cfcb1a25ee0da5c3eb2dd65 (patch)
treeafc3aed714ed48d055a259a0c2be054a934d43a4 /spec
parentcaa065670ef8d360383d4bf3109483924b7adf38 (diff)
downloadgitlab-ce-0dd87789a13f8d841cfcb1a25ee0da5c3eb2dd65.tar.gz
Update Notify spec to use host set in config/gitlab.yml
Fixes failing tests introduced in pull request #824
Diffstat (limited to 'spec')
-rw-r--r--spec/mailers/notify_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb
index 065094e964e..31b211b66ff 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') }