goodwill / capybara-select2

Helper for capybara to be able to trigger select on select2 javascript (needed for js enabled test only)
MIT License
80 stars 111 forks source link

add select2 multiple choices support #7

Closed akarzim closed 11 years ago

akarzim commented 11 years ago

I needed select2 multiple choices support, so I share my changes with you.

Usage : Just use the method like before : select2("Dropdown Text", from: "Label of the dropdown") Or with multiples choices in an array : select2(["Choice 1", "Choice 2"], from: "Label of the dropdown").