Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-07-21 17:45:27 +0400
committerMarin Jankovski <marin@gitlab.com>2014-07-21 17:45:27 +0400
commit9714061bb0f099f3800ffdc75bc8807ee783e32a (patch)
tree0fc746c810639b36ad5258b7a4c85facb1c681f9 /features/steps/project/redirects.rb
parentcfde0936ea20edab82081c3f1288098c882e7de9 (diff)
If the referer is not set, use fullpath.
Diffstat (limited to 'features/steps/project/redirects.rb')
-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