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