Update Notify spec to use host set in config/gitlab.yml

Fixes failing tests introduced in pull request #824
This commit is contained in:
Robb Kidd 2012-05-16 11:25:18 -04:00
parent caa065670e
commit 0dd87789a1

View file

@ -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') }