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

DeNigris Sean sean at clipperadams.com
Mon Dec 14 16:57:36 EST 2009


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
                                                                                                                  ^
                                                                                                              (no s)
Sean DeNigris
sean at clipperadams.com





More information about the rspec-users mailing list