[rspec-users] What does as_null_object do?

David Chelimsky dchelimsky at gmail.com
Fri Dec 25 11:22:25 EST 2009

On Wed, Dec 23, 2009 at 3:44 PM, Ronald Chaplin <t73net at t73.biz> wrote:

> So I'm going through the rspec book right now, and get to page 72, as it
> introduces Spec::Mocks::Methods#as_null_object . In the book, it doesn't
> describe how it operates, or much detail about it other than it tells to
> expect certain data, and ignore the rest.
> ri Spec::Mocks::Methods#as_null_object simply states "no definition".???


Just added that so you'll be able to get that definition from ri after the
next release.


> So, does anyone else have some more info on this? What is it, what's
> it's total useage? what can I cook with it? Can I bbq it? What exactly?
> --
> Ronald Chaplin <t73net at t73.biz>
> T73 Biz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20091225/40e806d3/attachment.html>

More information about the rspec-users mailing list