<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:garamond,new york,times,serif;font-size:12pt">Uh, shouldn't they both work?&nbsp;&nbsp; I use TRUE (and FALSE) because I like the facts that a) they stand out typographically and b) they are Ruby constants.&nbsp; 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....<br><br>Al<div><div style="font-family: garamond,new york,times,serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Tom Stuart &lt;tom@experthuman.com&gt;<br>To: rspec-users &lt;rspec-users@rubyforge.org&gt;<br>Sent: Wednesday, December 5, 2007 7:17:06 AM<br>Subject: Re: [rspec-users] Does mock_model's :null_object option work?<br><br>
On 5 Dec 2007, at 15:02, David Chelimsky wrote:<br>&gt;&gt;&nbsp; @order_address = mock_model( OrderAddress, :null_object =&gt; TRUE )<br>&gt; :null_object =&gt; true (lower case) should work.<br><br>Well, I'm talking bollocks then, aren't I?<br>_______________________________________________<br>rspec-users mailing list<br><a ymailto="mailto:rspec-users@rubyforge.org" href="mailto:rspec-users@rubyforge.org">rspec-users@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/rspec-users" target="_blank">http://rubyforge.org/mailman/listinfo/rspec-users</a></div></div></div></div><br>
      <hr size=1>Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a></body></html>