On Wed, May 9, 2012 at 11:01 AM, Andrew Premdas wrote:
> Hi there,
>
> Is there any particular reason why stub is not stub.as_null_object by
> default?
See https://github.com/rspec/rspec-mocks/issues/56
___
rspec-users mailing list
rspec-users@rubyforge
Hi there,
Is there any particular reason why stub is not stub.as_null_object by
default?
Or alternatively is there some nicer sugar for stub.as_null_object
Is RSpec trying to discourage the use of stub.as_null_object, and if so why?
TIA
Andrew
--
Andrew Premdas
blog.