[rspec-users] Odd response.body behavior

Luke Galea galeal_lists at ideaforge.org
Sat Sep 22 11:17:58 EDT 2007


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


More information about the rspec-users mailing list