From 9714061bb0f099f3800ffdc75bc8807ee783e32a Mon Sep 17 00:00:00 2001 From: Marin Jankovski Date: Mon, 21 Jul 2014 15:45:27 +0200 Subject: If the referer is not set, use fullpath. --- features/steps/project/redirects.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'features') 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 -- cgit v1.2.1