Re: [rspec-users] stub.as_null_object mock and double

2012-05-09 Thread David Chelimsky
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

[rspec-users] stub.as_null_object mock and double

2012-05-09 Thread Andrew Premdas
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.