FactoryBot.define do factory :payment_deposit, class: "Comee::Core::PaymentDeposit" do client reference_no { Faker::Alphanumeric.alpha(number: 10) } bank_reference { Faker::Alphanumeric.alpha(number: 10) } currency date_issued { Date.current } amount { 100 } status { Comee::Core::PaymentDeposit.statuses[:pending] } end end