[rspec-users] What argument should I pass for mock(), stub() and double()

Lee Hambley lee.hambley at gmail.com
Sun Oct 11 05:21:59 EDT 2009


I may well be wrong, but I believe it's just a `tag` or name, so when you
print out <customer> - you see <#Double customer> rather tahn something
inexplicable, that is at least how it appears to work using Mocha

- Lee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20091011/e44b9c6f/attachment.html>

More information about the rspec-users mailing list