[rspec-users] Does mock_model's :null_object option work?

Al Chou hotfusionman at yahoo.com
Wed Dec 5 12:21:35 EST 2007

That's correct, I'm still on 1.0.8.  Sorry for forgetting to mention that.  I'm trying to keep some semblance of sanity as to knowing what versions of code I'm using, given how scattered I am about a subset of it (viz., Substruct).


----- Original Message ----
From: David Chelimsky <dchelimsky at gmail.com>
To: rspec-users <rspec-users at rubyforge.org>
Sent: Wednesday, December 5, 2007 7:30:12 AM
Subject: Re: [rspec-users] Does mock_model's :null_object option work?

On Dec 5, 2007 9:17 AM, Tom Stuart <tom at experthuman.com> wrote:
> On 5 Dec 2007, at 15:02, David Chelimsky wrote:
> >>  @order_address = mock_model( OrderAddress, :null_object => TRUE )
> > :null_object => true (lower case) should work.
> Well, I'm talking bollocks then, aren't I?

Actually, it turns out that TRUE and true resolve to the same issue.
I'm guessing Al is using 1.0.8.
rspec-users mailing list
rspec-users at rubyforge.org

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20071205/38ce146c/attachment.html 

More information about the rspec-users mailing list