Module: Capybara::DataPicker

Included in:
ProposalsPicker, ScopesPicker
Defined in:
lib/decidim/dev/test/rspec_support/capybara_data_picker.rb

Instance Method Summary collapse

Instance Method Details

#select_data_picker(id, multiple: nil, global_value: "") ⇒ Object



5
6
7
# File 'lib/decidim/dev/test/rspec_support/capybara_data_picker.rb', line 5

def select_data_picker(id, multiple: nil, global_value: "")
  Struct.new(:data_picker, :global_value).new(find_data_picker(id, multiple: multiple), global_value)
end