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.2.5 spec/factories/ecom/core/payments.rb
ecom_core-1.2.4 spec/factories/ecom/core/payments.rb
ecom_core-1.2.3 spec/factories/ecom/core/payments.rb
ecom_core-1.2.2 spec/factories/ecom/core/payments.rb
ecom_core-1.2.1 spec/factories/ecom/core/payments.rb
ecom_core-1.2.0 spec/factories/ecom/core/payments.rb
ecom_core-1.1.28 spec/factories/ecom/core/payments.rb
ecom_core-1.1.27 spec/factories/ecom/core/payments.rb
ecom_core-1.1.26 spec/factories/ecom/core/payments.rb
ecom_core-1.1.25 spec/factories/ecom/core/payments.rb
ecom_core-1.1.24 spec/factories/ecom/core/payments.rb
ecom_core-1.1.23 spec/factories/ecom/core/payments.rb
ecom_core-1.1.22 spec/factories/ecom/core/payments.rb
ecom_core-1.1.21 spec/factories/ecom/core/payments.rb
ecom_core-1.1.20 spec/factories/ecom/core/payments.rb
ecom_core-1.1.19 spec/factories/ecom/core/payments.rb
ecom_core-1.1.18 spec/factories/ecom/core/payments.rb
ecom_core-1.1.17 spec/factories/ecom/core/payments.rb
ecom_core-1.1.16 spec/factories/ecom/core/payments.rb
ecom_core-1.1.15 spec/factories/ecom/core/payments.rb