remove unused capybara_select2 helper

This commit is contained in:
Mike Greiling 2017-11-01 16:16:59 -05:00
parent fcba23561a
commit 8a0455f2ea
No known key found for this signature in database
GPG key ID: 0303DF507FA67596

View file

@ -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)