Commit ce2214a1f0f8ecc2cb9acb2d55b7824a8fe0b003

Authored by Dmitriy Zaporozhets
2 parents caa06567 0dd87789

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
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
spec/mailers/notify_spec.rb
... ... @@ -5,7 +5,7 @@ describe Notify do
5 5 include EmailSpec::Matchers
6 6  
7 7 before :all do
8   - default_url_options[:host] = 'example.com'
  8 + default_url_options[:host] = EMAIL_OPTS['host']
9 9 end
10 10  
11 11 let(:recipient) { Factory.create(:user, :email => 'recipient@example.com') }
... ...