[rspec-users] stub.as_null_object mock and double

Andrew Premdas apremdas at gmail.com
Wed May 9 16:01:18 UTC 2012


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.andrew.premdas.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20120509/980e5241/attachment.html>


More information about the rspec-users mailing list