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.31 spec/factories/ecom/core/payments.rb
ecom_core-1.2.30 spec/factories/ecom/core/payments.rb
ecom_core-1.2.29 spec/factories/ecom/core/payments.rb
ecom_core-1.2.28 spec/factories/ecom/core/payments.rb
ecom_core-1.2.27 spec/factories/ecom/core/payments.rb
ecom_core-1.2.26 spec/factories/ecom/core/payments.rb
ecom_core-1.2.25 spec/factories/ecom/core/payments.rb
ecom_core-1.2.24 spec/factories/ecom/core/payments.rb
ecom_core-1.2.23 spec/factories/ecom/core/payments.rb
ecom_core-1.2.22 spec/factories/ecom/core/payments.rb
ecom_core-1.2.21 spec/factories/ecom/core/payments.rb
ecom_core-1.2.20 spec/factories/ecom/core/payments.rb
ecom_core-1.2.19 spec/factories/ecom/core/payments.rb
ecom_core-1.2.18 spec/factories/ecom/core/payments.rb
ecom_core-1.2.17 spec/factories/ecom/core/payments.rb
ecom_core-1.2.16 spec/factories/ecom/core/payments.rb
ecom_core-1.2.15 spec/factories/ecom/core/payments.rb
ecom_core-1.2.14 spec/factories/ecom/core/payments.rb
ecom_core-1.2.13 spec/factories/ecom/core/payments.rb
ecom_core-1.2.12 spec/factories/ecom/core/payments.rb