On 6/30/07, barsalou <[EMAIL PROTECTED]> wrote:
> Quoting aslak hellesoy <[EMAIL PROTECTED]>:
>
> > @header is an implementation detail of your view that you shouldn't
> > care about in your view spec at all. I recommend you use the have_tag
> > matcher instead to verify what content gets rendered as expected.
> >
> > Aslak
> >
>
> Thanks Aslak, I wondered this myself.  I looked around here :
> http://rspec.rubyforge.org/rdoc/index.html for have_tag but didn't find
> it.
>
> Where would be a good place to find some of these matchers?

have_tag is not part of rspec's core, it's in the rails plugin. The
rdoc for that is at http://rspec.rubyforge.org/rdoc-rails/index.html

Cheers,
David


>
> Mike B.
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to