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:
authorJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2015-02-12 23:22:23 +0300
committerJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2015-02-12 23:22:23 +0300
commit686000446639fbf0756733c822a1ebb19e09e121 (patch)
tree044315ad2f6eeffcb6b9567b1fc86f4acd3fc947 /features
parent026e988544f282c87afec9a85ff21a23877f6226 (diff)
Fixed deprecation in spinach stubs
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/redirects.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/redirects.rb b/features/steps/project/redirects.rb
index e54637120ce..e2badccbcf4 100644
--- a/features/steps/project/redirects.rb
+++ b/features/steps/project/redirects.rb
@@ -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