Re: [rspec-users] "have" matcher special case for owned collection with 1 item

2009-12-14 Thread David Chelimsky
On Mon, Dec 14, 2009 at 3:57 PM, DeNigris Sean wrote: > If I'm reading the docs right, the current implementation would be:   > my_workspace.should have(1).documents > > Would it be hard to have it be:  my_workspace.should have(1).document >                                                        

[rspec-users] "have" matcher special case for owned collection with 1 item

2009-12-14 Thread DeNigris Sean
If I'm reading the docs right, the current implementation would be: my_workspace.should have(1).documents Would it be hard to have it be: my_workspace.should have(1).document ^