[rspec-users] have_tag + quantity - question

MAwiniarski MAwiniarski at gmail.com
Thu Mar 5 08:40:14 EST 2009


Greetings,

Is there a way to check quantity of tags?

Something like this:

response.should have_tag('div').quantity(4)

Thanks.


More information about the rspec-users mailing list