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

David Chelimsky dchelimsky at gmail.com
Sun Feb 24 19:42:56 EST 2008


On Sun, Feb 24, 2008 at 6:35 PM, s.ross <cwdinfo at gmail.com> wrote:
> 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

Steve - it's because of isolation - I pointed Alex to the docs.

>
>  to see whether you have what you think you do.
>
>
> _______________________________________________
>  rspec-users mailing list
>  rspec-users at rubyforge.org
>  http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list