Sha256: 87b827af786a0592404ff85f5e5e499f1e495725846b0c56e455ad116433832c

Contents?: true

Size: 229 Bytes

Versions: 45

Compression:

Stored size: 229 Bytes

Contents

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

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
ecom_core-1.0.20 spec/factories/ecom/core/payments.rb
ecom_core-1.0.19 spec/factories/ecom/core/payments.rb
ecom_core-1.0.18 spec/factories/ecom/core/payments.rb
ecom_core-1.0.17 spec/factories/ecom/core/payments.rb
ecom_core-1.0.16 spec/factories/ecom/core/payments.rb