[Rspec-devel] Mock API - should_not_receive

DeeJay smartgpx at gmail.com
Wed Aug 30 06:42:02 EDT 2006


  For today you can still use should_receive(:msg).with("unwanted
  text").never, but that will be removed in version 0.7 or 0.8.
Ah! It's too late to worry about it now, but although this is in the Rdoc
(which
I *should* have checked...), .never isn't mentioned on the website
documentation
at  http://rspec.rubyforge.org/documentation/mocks.html


  Please submit a feature request for this. We can add this before we
  remove the "never" syntax.

Will do. Thanks.


DeeJay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-devel/attachments/20060830/e9cc8587/attachment.html 


More information about the Rspec-devel mailing list