summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-11-01 16:16:59 -0500
committerMike Greiling <mike@pixelcog.com>2017-11-01 16:16:59 -0500
commit8a0455f2ea89e8a3ad44b4ddc5652af8e851aaec (patch)
tree3056416a58bff09232c0052dd6fef39b4a717ff0 /spec
parentfcba23561aae0fd502b432d50a598c8b9d397651 (diff)
downloadgitlab-ce-8a0455f2ea89e8a3ad44b4ddc5652af8e851aaec.tar.gz
remove unused capybara_select2 helper
Diffstat (limited to 'spec')
-rw-r--r--spec/support/select2_helper.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/support/select2_helper.rb b/spec/support/select2_helper.rb
index 0ba44b1b115..55da961e173 100644
--- a/spec/support/select2_helper.rb
+++ b/spec/support/select2_helper.rb
@@ -11,11 +11,6 @@
#
module Select2Helper
- def capybara_select2(value)
- # Taken from https://github.com/goodwill/capybara-select2/blob/master/gem/lib/capybara-select2.rb#L45
- find('.select2-drop li.select2-result-selectable', text: value).click
- end
-
def select2(value, options = {})
raise ArgumentError, 'options must be a Hash' unless options.is_a?(Hash)