<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:garamond,new york,times,serif;font-size:12pt">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).<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: David Chelimsky <dchelimsky@gmail.com><br>To: rspec-users <rspec-users@rubyforge.org><br>Sent: Wednesday, December 5, 2007 7:30:12 AM<br>Subject: Re: [rspec-users] Does mock_model's :null_object option work?<br><br>
On Dec 5, 2007 9:17 AM, Tom Stuart <<a ymailto="mailto:tom@experthuman.com" href="mailto:tom@experthuman.com">tom@experthuman.com</a>> wrote:<br>> On 5 Dec 2007, at 15:02, David Chelimsky wrote:<br>> >> @order_address = mock_model( OrderAddress, :null_object => TRUE )<br>> > :null_object => true (lower case) should work.<br>><br>> Well, I'm talking bollocks then, aren't I?<br><br>Actually, it turns out that TRUE and true resolve to the same issue.<br>I'm guessing Al is using 1.0.8.<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>Never miss a thing. <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>
</body></html>