On Sun, Aug 23, 2009 at 10:08 AM, nruth wrote:
> I'd appreciate suggestions for improving this matcher. Currently it
> relies on the link saying "Delete", not whether it sends a delete
> request when used.
>
> def have_delete_link(href)
> simple_matcher("a link href='#{href}'") do |given|
>
I'd appreciate suggestions for improving this matcher. Currently it
relies on the link saying "Delete", not whether it sends a delete
request when used.
def have_delete_link(href)
simple_matcher("a link href='#{href}'") do |given|
selector = have_selector("a[href='#{href}']", :co