mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-22 02:52:49 +01:00
Add missing test
This commit is contained in:
parent
a756d9a025
commit
663034093f
@ -38,6 +38,11 @@ describe Bank do
|
||||
Day.count.must_be :<, 90
|
||||
end
|
||||
|
||||
it 'seeds rates with saved data' do
|
||||
Bank.seed_with_saved_data!
|
||||
Day.count.must_be :>, 90
|
||||
end
|
||||
|
||||
it 'does not duplicate when fetching rates for last 90 days' do
|
||||
Bank.fetch_ninety_days!
|
||||
count = Day.count
|
||||
|
Loading…
Reference in New Issue
Block a user