[rspec-users] Odd response.body behavior

Luke Galea
Sat, 22 Sep 2007 15:17:58 -0000

Hi all,

I''m having very odd behavior, but only with a few of my specs.

I''m checking the value of response.body and in most cases finding it
to be the content of the body... but in some cases it''s the name of
the template rendered!! There''s no rhyme or reason I can see, but
obviously my tests fail for no reason when I expect the body to
contain the content.

Any idea what is happening?

Thanks in advance!

Luke