Sha256: ad9052e193930bd5979d4836be3068806142d2f02ab4e9ce0763509d20ec9a2c

Contents?: true

Size: 182 Bytes

Versions: 2

Compression:

Stored size: 182 Bytes

Contents

FactoryBot.define do
  factory :payment, class: 'Ecom::Core::Payment' do
    from { Date.parse('2000-01-01') }
    to { Date.parse('2000-01-15') }
    association :payroll
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecom_core-1.0.14 spec/factories/ecom/core/payments.rb
ecom_core-1.0.13 spec/factories/ecom/core/payments.rb