summaryrefslogtreecommitdiff
path: root/features/steps/project/star.rb
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-09-24 08:28:41 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-09-26 09:51:17 +0200
commit89f7345f3ffdc212e60d4d657d878d1e5d6d6f9a (patch)
tree50929c127d5b45237cfbe9dd1dd26a406a7e7ed5 /features/steps/project/star.rb
parent1302dc8f0420dacec65ef1dcc955763c6c263cec (diff)
downloadgitlab-ce-89f7345f3ffdc212e60d4d657d878d1e5d6d6f9a.tar.gz
Remove unnecessary page. from tests.
Diffstat (limited to 'features/steps/project/star.rb')
-rw-r--r--features/steps/project/star.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/star.rb b/features/steps/project/star.rb
index 562df04e340..ae2e4c7a201 100644
--- a/features/steps/project/star.rb
+++ b/features/steps/project/star.rb
@@ -22,7 +22,7 @@ class Spinach::Features::ProjectStar < Spinach::FeatureSteps
# Requires @javascript
step "I click on the star toggle button" do
- page.find(".star .toggle", visible: true).click
+ find(".star .toggle", visible: true).click
end
protected