I have a select box:

<select id="temp_aspect_topic_id" name="temp_aspect[topic_id]">
        <option value="">– Select Topic –</option>
        <option value="1">Pollution</option>
</select>

I would like to select the pollution option from the list using
webrat.

I've tried:

select "Pollution", :from => "temp_aspect[topic_id]"
select "Pollution"

In both cases I receive the error:

The 'Pollution' option was not found

Any suggestions much appreciated,

Mike
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to