Re: Does mock_model's :null_object option work?

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 C. [email protected]
To: rspec-users [email protected]
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 S. [email protected] wrote:

On 5 Dec 2007, at 15:02, David C. 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
[email protected]


Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs