Closed felixbuenemann closed 11 years ago
Btw. on occasion the timing specs fail for me, because they take 1ms longer than expected (1001 vs. 1000ms), I guess the specs should leave a minimal margin in that regard.
completely fine to add that margin to the spec
@SamSaffron Yes, it's magic: https://github.com/dchelimsky/rspec/blob/master/lib/spec/matchers/match_array.rb#L69
good to know ... thanks !
On my system redis would return ['ABC', 'XYZ'] instead of ['XYZ', 'ABC'] which should still fit the requirement of the failing spec.