From b9c2e6ebdc17f1e57cdf8161fde661340eb7d1ed Mon Sep 17 00:00:00 2001 From: Ciro Santilli <ciro.santilli@gmail.com> Date: Wed, 24 Sep 2014 08:52:38 +0200 Subject: [PATCH] evaluate -> execute_script when return not needed. --- features/steps/project/multiselect_blob.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.9