[rspec-users] View spec response has no content?

Steve vertebrate at gmail.com
Sun Oct 21 23:59:55 EDT 2007

On Mon, 22 Oct 2007 02:49:59 +0000, Steve wrote:

> I have been messing with this all night, and can't figure out what's going
> wrong here. I have a test that renders the view, and then a shared
> behavior checks "response" for the various tags from a rails layout. The
> problem is matching. If I run in the browser the page renders
> fine. Is there a way to output what the response contains? Here are my
> tests:

Ahem, here's a big duh for me. Rendering the view itself doesn't actually
render the layout since that's done at the controller level. So many
levels of seperation(which is good). Gets confusing what is where and
called at which times occasionally.

More information about the rspec-users mailing list