[rspec-users] strange mock error

David Smalley david.smalley.lists at googlemail.com
Mon Jun 25 05:21:02 EDT 2007

I'm testing using the rspec mocking framework and rspec 1.0.5 and I'm  
getting the following strange error:

#<Spec::Mocks::Mock:0x337f7c8> expected :set_defaults with (#<Service: 
0x19c4040 @name="Service_1023">, {"1"=>"1", "2"=>"2"}) but received  
it with (#<Service:0x19c4040 @name="Service_1023">, {"1"=>"1",  

Oddly, it looks like what its expecting and what its receiving are  
the same. Why would this fail?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070625/b284e084/attachment.html 

More information about the rspec-users mailing list