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

2010-10-23 Thread Peter Havens
On Oct 23, 1:40 pm, Katrina 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, Pete ___

[rspec-users] Trouble making rspec-rails 2 work with webrat.

2010-11-15 Thread Peter Havens
I'm having problems getting rspec-rails 2 request specs to work with webrat. Any help would be appreciated. Here's my setup: ruby 1.9.2p0 rails 3.0.1 rspec-rails 2.1.0 webrat 0.7.2 Here's the error I'm getting: $ rspec --backtrace spec/requests/ssl_certificate_requests_spec.rb F Failures: 1)