Sha256: 5364b1c54be768d41f98f014182a336ea54360b5c0fa71b1cfa6c8190396c82b

Contents?: true

Size: 282 Bytes

Versions: 16

Compression:

Stored size: 282 Bytes

Contents

FactoryBot.define do
  factory :payment, class: "Comee::Core::Payment" do
    reference_no { Faker::Alphanumeric.alpha(number: 10) }
    invoice
    payment_date { Date.current }
    amount { 100 }
    currency
    bank_reference { Faker::Alphanumeric.alpha(number: 10) }
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
comee_core-0.2.21 spec/factories/comee/core/payments.rb
comee_core-0.2.20 spec/factories/comee/core/payments.rb
comee_core-0.2.19 spec/factories/comee/core/payments.rb
comee_core-0.2.18 spec/factories/comee/core/payments.rb
comee_core-0.2.17 spec/factories/comee/core/payments.rb
comee_core-0.2.16 spec/factories/comee/core/payments.rb
comee_core-0.2.15 spec/factories/comee/core/payments.rb
comee_core-0.2.14 spec/factories/comee/core/payments.rb
comee_core-0.2.13 spec/factories/comee/core/payments.rb
comee_core-0.2.12 spec/factories/comee/core/payments.rb
comee_core-0.2.11 spec/factories/comee/core/payments.rb
comee_core-0.2.10 spec/factories/comee/core/payments.rb
comee_core-0.2.9 spec/factories/comee/core/payments.rb
comee_core-0.2.8 spec/factories/comee/core/payments.rb
comee_core-0.2.7 spec/factories/comee/core/payments.rb
comee_core-0.2.6 spec/factories/comee/core/payments.rb