[rspec-users] How to dump contents produced during spec evaluation?

s.ross cwdinfo at gmail.com
Sun Feb 24 19:35:02 EST 2008


On Feb 24, 2008, at 4:29 PM, Alex Satrapa wrote:

> Okay, this is weird.  The result seems to indicate that the body of
> the response is the literal text, "resource/new":
>
> My autotest results show (I've changed the name of the resource to
> 'resource'):
>>

Try

puts response.class
puts response.inspect

to see whether you have what you think you do.


More information about the rspec-users mailing list