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?

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

Reply via email to