[rspec-users] Surprising mock behavior

Mark Wilden mark at mwilden.com
Fri Oct 17 15:42:33 EDT 2008


On Fri, Oct 17, 2008 at 11:55 AM, Mark Thomson <mark.thomson at ieee.org>wrote:


> It seems as if "should_receive" is queuing up the messages that come into
> the file object and when it tests an expectation it just looks at the next
> one in line. If it doesn't match then the expectation will fail.
>

Yup. Pretty cool, huh?

///ark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20081017/02bd92ec/attachment.html>


More information about the rspec-users mailing list