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

Changing selector 'contains' to use option :text to find elements. #2

Closed pedrocss closed 11 years ago

pedrocss commented 11 years ago

This change has been based on Capybara documentation.

http://rubydoc.info/github/jnicklas/capybara/master/Capybara/Node/Finders#find-instance_method

martijn commented 11 years ago

:+1: