Sha256: ce6038916ee3e5c25df01fed7b3eba30862492ffb0ec87c551bebe2e7d456b98

Contents?: true

Size: 344 Bytes

Versions: 41

Compression:

Stored size: 344 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 }
    advance { 0 }
    association :crew
    association :payment
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
ecom_core-1.1.14 spec/factories/ecom/core/payment_details.rb
ecom_core-1.1.13 spec/factories/ecom/core/payment_details.rb
ecom_core-1.1.12 spec/factories/ecom/core/payment_details.rb
ecom_core-1.1.11 spec/factories/ecom/core/payment_details.rb
ecom_core-1.1.10 spec/factories/ecom/core/payment_details.rb
ecom_core-1.1.9 spec/factories/ecom/core/payment_details.rb
ecom_core-1.1.8 spec/factories/ecom/core/payment_details.rb
ecom_core-1.1.7 spec/factories/ecom/core/payment_details.rb
ecom_core-1.1.6 spec/factories/ecom/core/payment_details.rb
ecom_core-1.1.5 spec/factories/ecom/core/payment_details.rb
ecom_core-1.1.4 spec/factories/ecom/core/payment_details.rb
ecom_core-1.1.3 spec/factories/ecom/core/payment_details.rb
ecom_core-1.1.2 spec/factories/ecom/core/payment_details.rb
ecom_core-1.1.1 spec/factories/ecom/core/payment_details.rb
ecom_core-1.1.0 spec/factories/ecom/core/payment_details.rb
ecom_core-1.0.25 spec/factories/ecom/core/payment_details.rb
ecom_core-1.0.24 spec/factories/ecom/core/payment_details.rb
ecom_core-1.0.23 spec/factories/ecom/core/payment_details.rb
ecom_core-1.0.22 spec/factories/ecom/core/payment_details.rb
ecom_core-1.0.21 spec/factories/ecom/core/payment_details.rb