Sha256: e32964739deaf0e7a96b0d4ce5c6569d57e35dd15f0faa207c27b55abe344254

Contents?: true

Size: 326 Bytes

Versions: 5

Compression:

Stored size: 326 Bytes

Contents

FactoryBot.define do
  factory :payment_detail, class: 'Ecom::Core::PaymentDetail' do
    hours { 1.5 }
    ot_hours { 1.5 }
    base_salary { 1.5 }
    overtime { 1.5 }
    gross_salary { 100 }
    tax { 15 }
    pension { 5 }
    net_salary { 80 }
    net_pay { 80 }
    association :crew
    association :payment
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecom_core-1.0.19 spec/factories/ecom/core/payment_details.rb
ecom_core-1.0.18 spec/factories/ecom/core/payment_details.rb
ecom_core-1.0.17 spec/factories/ecom/core/payment_details.rb
ecom_core-1.0.16 spec/factories/ecom/core/payment_details.rb
ecom_core-1.0.15 spec/factories/ecom/core/payment_details.rb