[rspec-users] Someone please name this matcher for me

Mike Vincent mike at vincent.ws
Wed Aug 6 14:11:01 EDT 2008


On Wed, Aug 6, 2008 at 12:50 PM, Pat Maddox <pergesu at gmail.com> wrote:
> I've had a matcher in my head for a couple months, that I frequently
> want but never get around to writing because I can't think of the name
> for it.  Here's how it would look
>
> [1, 2, 3, 4, 1].should ... [1, 3, 1, 4, 2]

[1, 2, 3, 4, 1].should  include_all [1, 3, 1, 4, 2]


More information about the rspec-users mailing list