update transaction factory

This commit is contained in:
Ilion Beyst 2015-09-09 12:52:32 +02:00
parent 95f4c54780
commit c2ec8ba51b

View file

@ -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