summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-05-16 08:27:30 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-05-16 08:27:30 -0700
commitce2214a1f0f8ecc2cb9acb2d55b7824a8fe0b003 (patch)
treeafc3aed714ed48d055a259a0c2be054a934d43a4
parentcaa065670ef8d360383d4bf3109483924b7adf38 (diff)
parent0dd87789a13f8d841cfcb1a25ee0da5c3eb2dd65 (diff)
downloadgitlab-ce-ce2214a1f0f8ecc2cb9acb2d55b7824a8fe0b003.tar.gz
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
-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') }