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

Matt Wynne lists at ruby-forum.com
Mon Aug 11 10:24:09 EDT 2008

Would such a matcher also work in this instance:

Car.should_receive(:find).with(bag_of[@ford.id, @fiat.id])

Such that if I don't know (or care) what order the IDs will be passed to 
the find method, this will pass?

Or is there already some other way to achieve that?
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list