I often want to compare arrays and make sure that they contain the same elements, in any order. Is there a concise way to do this in RSpec?
Here are methods that are
Try array.should =~ another_array
array.should =~ another_array
The best documentation on this I can find is the code itself, which is here.