diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-07-21 17:45:27 +0400 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-07-21 17:45:27 +0400 |
commit | 9714061bb0f099f3800ffdc75bc8807ee783e32a (patch) | |
tree | 0fc746c810639b36ad5258b7a4c85facb1c681f9 /features/steps/project/redirects.rb | |
parent | cfde0936ea20edab82081c3f1288098c882e7de9 (diff) |
If the referer is not set, use fullpath.
Diffstat (limited to 'features/steps/project/redirects.rb')
-rw-r--r-- | features/steps/project/redirects.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/features/steps/project/redirects.rb b/features/steps/project/redirects.rb index 25d37fd7888..7e01735af95 100644 --- a/features/steps/project/redirects.rb +++ b/features/steps/project/redirects.rb @@ -17,6 +17,7 @@ class Spinach::Features::ProjectRedirects < Spinach::FeatureSteps end step 'I should see project "Community" home page' do + Gitlab.config.gitlab.stub(:host).and_return("www.example.com") within '.project-home-title' do page.should have_content 'Community' end |