[rspec-users] have_tag matcher in rspec 2?

David Chelimsky dchelimsky at gmail.com
Sun Jun 27 23:42:14 EDT 2010

On Jun 27, 2010, at 10:32 PM, Woody Peterson 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. 


More information about the rspec-users mailing list