Select an unknown option with Capybara
When you don't know which options are available, but need to have an option selected, use this step.
When /^I select the second option from "([^"]*)"$/ do |id|
second_option = find(:xpath, "//*[@id='#{id}']/option[2]").text
select(second_option, :from => id)
end