mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 02:35:57 +02:00
Add account and pricelist factories
This commit is contained in:
parent
afac0c571e
commit
cbedd33db3
2 changed files with 17 additions and 0 deletions
7
spec/factories/account.rb
Normal file
7
spec/factories/account.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
FactoryGirl.define do
|
||||
factory :account do
|
||||
account_type Account::CASH
|
||||
balance 1
|
||||
currency 'EUR'
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue