mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-25 04:22:28 +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
|
Day.count.must_be :<, 90
|
||||||
end
|
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
|
it 'does not duplicate when fetching rates for last 90 days' do
|
||||||
Bank.fetch_ninety_days!
|
Bank.fetch_ninety_days!
|
||||||
count = Day.count
|
count = Day.count
|
||||||
|
Loading…
Reference in New Issue
Block a user