Re: [rspec-users] "have" matcher special case for owned collection with 1 item
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
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 ^