summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-09-24 08:52:38 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-09-24 10:03:51 +0200
commitb9c2e6ebdc17f1e57cdf8161fde661340eb7d1ed (patch)
tree0a5907370465ef864fa9e3f7b43303069fa14e32 /features
parent6da15541d3d3844a07bfa2a2495fdc3c09ce5191 (diff)
downloadgitlab-ce-b9c2e6ebdc17f1e57cdf8161fde661340eb7d1ed.tar.gz
evaluate -> execute_script when return not needed.
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/multiselect_blob.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/multiselect_blob.rb b/features/steps/project/multiselect_blob.rb
index c81d2b3b998..3a3ce55b7aa 100644
--- a/features/steps/project/multiselect_blob.rb
+++ b/features/steps/project/multiselect_blob.rb
@@ -12,7 +12,7 @@ class Spinach::Features::ProjectMultiselectBlob < Spinach::FeatureSteps
step "I shift-click line #{line_number} in file" do
script = "$('#L#{line_number}').trigger($.Event('click', { shiftKey: true }));"
- page.evaluate_script(script)
+ execute_script(script)
end
end
end