Have_tag matcher in rspec 2?

I always assumed have_tag was part of rspec, but it’s not in rspec 2,
and looking now I don’t see it in rspec 1 either. Webrat defines it, but
that seems like a coincidence (I tried requiring webrat/core/matchers to
no avail).

Is it depricated, not yet implemented, or does it work for everyone
else?

My project is from scratch, rspec-rails 2b13, using generated
spec_helper.

Thanks in advance!

On Jun 27, 2010, at 10:32 PM, Woody P. wrote:

I always assumed have_tag was part of rspec, but it’s not in rspec 2,
and looking now I don’t see it in rspec 1 either. Webrat defines it, but
that seems like a coincidence (I tried requiring webrat/core/matchers to
no avail).

Is it depricated, not yet implemented, or does it work for everyone
else?

My project is from scratch, rspec-rails 2b13, using generated
spec_helper.

RSpec-2 will not include have_tag. Use webrat’s have_selector matcher
instead.

HTH,
David