Fix invoice tests

This commit is contained in:
Martin Lensment 2015-04-20 10:29:40 +03:00
parent 10891d1638
commit e987e201ad
6 changed files with 33 additions and 2 deletions

View file

@ -2,5 +2,5 @@ Fabricator(:account) do
account_type { Account::CASH }
balance 0.0
currency 'EUR'
account_activities(count: 2)
# account_activities(count: 2)
end

View file

@ -9,4 +9,5 @@ Fabricator(:invoice) do
seller_street { 'Paldiski mnt. 123' }
invoice_items(count: 2)
vat_prc 0.2
buyer { Fabricate(:registrar) }
end