[rspec-users] Symbols in strings out in stubbed response

Peter Havens peter.havens at gmail.com
Sat Oct 23 17:29:54 EDT 2010

On Oct 23, 1:40 pm, Katrina <katrina.o... at gmail.com> wrote:
> [...]
> It fails with the following:
> expected {:total=>139 #...
>        got {"total"=>139 #...
> [...}

I think the problem you're having is that you're expecting/stubbing
symbols for your keys, but the keys for parameters are strings.

Good luck,

More information about the rspec-users mailing list