[rspec-devel] as_null_object

David Chelimsky dchelimsky at gmail.com
Tue Aug 26 22:29:35 EDT 2008

On Tue, Aug 26, 2008 at 9:21 PM, Zach Dennis <zach.dennis at gmail.com> wrote:
> I noticed #as_null_object got added to Spec::Mocks::Methods. As soon
> as I saw it, it immediately seemed to be preferable over the
> :null_object parameter. Is this the case?

I prefer it, but preference is ... a matter of preference :)

I don't think we'll deprecate support for the :null_object option, if
that's what you're asking.

More information about the rspec-devel mailing list