On Dec 5, 2007 9:36 AM, Al Chou <[EMAIL PROTECTED]> wrote: > > 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....
Did you see my earlier email acknowledging that the problem was not true/TRUE, but was likely the version of the plugin you are using? 1.0.8 does not support :null_object. Trunk does. > > 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 > > ________________________________ > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it > now. > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users