mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-21 18:42:29 +01:00
Fix spec
This commit is contained in:
parent
ef683f0321
commit
1116343424
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user