Uh, shouldn't they both work?   I use TRUE (and FALSE) because I like the facts 
that a) they stand out typographically and b) they are Ruby constants.  I can't 
believe the case of the letters matters, unless you are doing something 
meta-programmingy rather than just passing the value through to whatever is 
receiving it....

Al

----- Original Message ----
From: Tom Stuart <[EMAIL PROTECTED]>
To: rspec-users <rspec-users@rubyforge.org>
Sent: Wednesday, December 5, 2007 7:17:06 AM
Subject: Re: [rspec-users] Does mock_model's :null_object option work?


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?
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users





      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to