update transaction factory
This commit is contained in:
parent
95f4c54780
commit
c2ec8ba51b
1 changed files with 1 additions and 1 deletions
|
@ -17,8 +17,8 @@ FactoryGirl.define do
|
|||
factory :transaction do
|
||||
association :debtor, factory: :user
|
||||
association :creditor, factory: :user
|
||||
issuer { debtor }
|
||||
amount { rand(100) }
|
||||
origin 'FactoryGirl'
|
||||
message { Faker::Lorem.sentence }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue