mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
parent
9425fed7ae
commit
c64f7742fa
2 changed files with 11 additions and 0 deletions
5
spec/fabricators/account_activity_fabricator.rb
Normal file
5
spec/fabricators/account_activity_fabricator.rb
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
Fabricator(:account_activity) do
|
||||||
|
invoice
|
||||||
|
currency 'EUR'
|
||||||
|
sum 110.0
|
||||||
|
end
|
6
spec/fabricators/account_fabricator.rb
Normal file
6
spec/fabricators/account_fabricator.rb
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
Fabricator(:account) do
|
||||||
|
account_type { Account::CASH }
|
||||||
|
balance 0.0
|
||||||
|
currency 'EUR'
|
||||||
|
# account_activities(count: 2)
|
||||||
|
end
|
Loading…
Add table
Add a link
Reference in a new issue