[rspec-users] webrat within selector
Scott Taylor
mailing_lists at railsnewbie.com
Mon Oct 13 15:36:09 EDT 2008
On Oct 13, 2008, at 1:54 PM, Jonathan Linowes wrote:
> anyone know if/how webrat can scope a clicks_link within a selector?
> eg, if I have more than one "Foo" link on a page, I want to make
> sure I click the one within a specific div
I'm pretty sure clicks link can also take an id. It's not the
prettiest solution (in fact, I'm sure Bryan would say webrat was
developed to *explicitly* so that you wouldn't use an id...but I
digress).
Scott
More information about the rspec-users
mailing list