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:
Dmitriy Zaporozhets 2012-05-16 08:27:30 -07:00
commit ce2214a1f0

View file

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