lib/cucumber/pickles/steps/fill_in/select.rb in pickles-0.2.1 vs lib/cucumber/pickles/steps/fill_in/select.rb in pickles-0.2.2

- old
+ new

@@ -9,10 +9,11 @@ @value = value @within = within || Capybara.current_session end def call - locator, wait = Locator::Wait.execute(@label) + locator, wait = Locator::Wait.execute(@label) + locator, index = Locator::Index.execute(locator) options = { from: locator } options[:wait] = wait if wait @within.select @value, options