2008-08-06 13:11, Mike Vincent:
> > [1, 2, 3, 4, 1].should ... [1, 3, 1, 4, 2]
> [1, 2, 3, 4, 1].should  include_all [1, 3, 1, 4, 2]

I'd then think that

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

Which afaik was not what Pat had in mind.  Or was it?

And include_all_and_nothing_but is a bit verbose.  :)

-- 
Tero Tilus ## 050 3635 235 ## http://www.tilus.net/koti/tero/
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to