Merge pull request #7838 from cirosantilli/evaluate-exec

evaluate -> execute_script when return not needed.
This commit is contained in:
Robert Schilling 2014-09-24 10:28:15 +02:00
commit b794fdbbbe

View file

@ -12,7 +12,7 @@ class Spinach::Features::ProjectMultiselectBlob < Spinach::FeatureSteps
step "I shift-click line #{line_number} in file" do step "I shift-click line #{line_number} in file" do
script = "$('#L#{line_number}').trigger($.Event('click', { shiftKey: true }));" script = "$('#L#{line_number}').trigger($.Event('click', { shiftKey: true }));"
page.evaluate_script(script) execute_script(script)
end end
end end
end end