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


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

Reply via email to