summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-09-24 09:51:27 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-09-24 09:51:27 +0200
commit4e89860826628945cbed35b170913da34c2a51c3 (patch)
tree31cbb0cc851d19c3eee7ad1a0422c93bda66678f /features
parent6da15541d3d3844a07bfa2a2495fdc3c09ce5191 (diff)
downloadgitlab-ce-4e89860826628945cbed35b170913da34c2a51c3.tar.gz
evaluate_script history -> go_back and go_forward.
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/multiselect_blob.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/project/multiselect_blob.rb b/features/steps/project/multiselect_blob.rb
index c81d2b3b998..319a66f3494 100644
--- a/features/steps/project/multiselect_blob.rb
+++ b/features/steps/project/multiselect_blob.rb
@@ -45,11 +45,11 @@ class Spinach::Features::ProjectMultiselectBlob < Spinach::FeatureSteps
check_state_steps *Array(1..5), Array(1..2), Array(1..3), Array(1..4), Array(1..5), Array(3..5)
step 'I go back in history' do
- page.evaluate_script("window.history.back()")
+ go_back
end
step 'I go forward in history' do
- page.evaluate_script("window.history.forward()")
+ go_forward
end
step 'I click on ".gitignore" file in repo' do