diff --git a/spec/currency_spec.rb b/spec/currency_spec.rb index 6bc91b1..9b91190 100644 --- a/spec/currency_spec.rb +++ b/spec/currency_spec.rb @@ -27,8 +27,8 @@ describe Currency do _(Currency.between(interval).map(:date).uniq.count).must_be :<, 54 end - it 'sorts by date' do - interval = day..day + 100 + it 'sorts by date when sampling' do + interval = day..day + 366 dates = Currency.between(interval).map(:date) _(dates).must_equal dates.sort end