Sha256: 43428f74895c752e2dbb6cb526157cd85d9981d09c244d8c309c7301db5df261

Contents?: true

Size: 227 Bytes

Versions: 45

Compression:

Stored size: 227 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.2.11 spec/factories/ecom/core/payments.rb
ecom_core-1.2.10 spec/factories/ecom/core/payments.rb
ecom_core-1.2.9 spec/factories/ecom/core/payments.rb
ecom_core-1.2.7 spec/factories/ecom/core/payments.rb
ecom_core-1.2.6 spec/factories/ecom/core/payments.rb