Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-09-24 10:28:41 +0400
committerCiro Santilli <ciro.santilli@gmail.com>2014-09-26 11:51:17 +0400
commit89f7345f3ffdc212e60d4d657d878d1e5d6d6f9a (patch)
tree50929c127d5b45237cfbe9dd1dd26a406a7e7ed5 /spec/support/select2_helper.rb
parent1302dc8f0420dacec65ef1dcc955763c6c263cec (diff)
Remove unnecessary page. from tests.
Diffstat (limited to 'spec/support/select2_helper.rb')
-rw-r--r--spec/support/select2_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/select2_helper.rb b/spec/support/select2_helper.rb
index 32c1ded2e9d..c7cf109a7bb 100644
--- a/spec/support/select2_helper.rb
+++ b/spec/support/select2_helper.rb
@@ -17,9 +17,9 @@ module Select2Helper
selector = options[:from]
if options[:multiple]
- page.execute_script("$('#{selector}').select2('val', ['#{value}']);")
+ execute_script("$('#{selector}').select2('val', ['#{value}']);")
else
- page.execute_script("$('#{selector}').select2('val', '#{value}');")
+ execute_script("$('#{selector}').select2('val', '#{value}');")
end
end
end