Would such a matcher also work in this instance:

Car.should_receive(:find).with([EMAIL PROTECTED], @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/.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to