goodwill/capybara-select2 — pull request #20 by divineforest (2013-10-04 14:21:06+00:00)
Title: fix 'Unable to find css ".select2-drop li" with text "Apple"'

Capybara::ElementNotFound:
Unable to find css ".select2-drop li" with text "Thailand"

Look like this line just closes the dropdown which was previously opened by

select2_container.find(".select2-choice").click