Fixed deprecation in spinach stubs
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
This commit is contained in:
parent
026e988544
commit
6860004466
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +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")
|
||||
Gitlab.config.gitlab.should_receive(:host).and_return("www.example.com")
|
||||
within '.navbar-gitlab .title' do
|
||||
page.should have_content 'Community'
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue