summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-07-21 15:45:27 +0200
committerMarin Jankovski <marin@gitlab.com>2014-07-21 15:45:27 +0200
commit9714061bb0f099f3800ffdc75bc8807ee783e32a (patch)
tree0fc746c810639b36ad5258b7a4c85facb1c681f9 /features
parentcfde0936ea20edab82081c3f1288098c882e7de9 (diff)
downloadgitlab-ce-9714061bb0f099f3800ffdc75bc8807ee783e32a.tar.gz
If the referer is not set, use fullpath.
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/redirects.rb1
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