capybara-select2 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/capybara-select2.rb +0 -1
- data/lib/capybara-select2/version.rb +1 -1
- metadata +1 -1
data/lib/capybara-select2.rb
CHANGED
@@ -7,7 +7,6 @@ module Capybara
|
|
7
7
|
raise "Must pass a hash containing 'from'" if not options.is_a?(Hash) or not options.has_key?(:from)
|
8
8
|
select_name = options[:from]
|
9
9
|
|
10
|
-
|
11
10
|
select2_container=find("label", text: select_name).find(:xpath, '..').find(".select2-container")
|
12
11
|
select2_container.find(".select2-choice").click
|
13
12
|
|