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

Dhruv Bansal dhruv at infochimps.org
Fri Aug 8 12:18:21 EDT 2008


i wrote this matcher myself for a project i'm working on and have been
calling it `equals_without_regard_to_order'.  it's an unwieldy name
and i've never really been comfortable with it but i've continued to
use it, mostly because i'm dim.

very curious to find a winning replacement on this list!


-- 
Dhruv Bansal
http://www.infochimps.org || http://www.dhruvbansal.com || dhruv at infochimps.org


"Mark Wilden" <mark at mwilden.com> writes:

> is_permutation_of would be technically correct, but it doesn't
> really express equality to me, which is the intent of the match.
>
> ///ark
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users


More information about the rspec-users mailing list