[rspec-users] Does mock_model's :null_object option work?

David Chelimsky dchelimsky at gmail.com
Wed Dec 5 10:30:12 EST 2007


On Dec 5, 2007 9:17 AM, Tom Stuart <tom at experthuman.com> wrote:
> 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?

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
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list