Displaying 1 result from an estimated 1 matches for "restaurant_organization_id".
2011 Jul 05
2
Using Capybara to select from a collection_select call (select tag)
I''m trying to use Capybara to test this. I have a step that goes
When I select "Price Chopper" from "Organization"
And the step definition is
When /^(?:|I )select "(.+)" from "(.+)"$/ do |value, field|
select(value, :from => field)
end
For some reason, I keep getting the error:
cannot select option, no select box with id,