Sha256: 4f8a4111f2727d3732f6dac32dae3732f1299ab619bf05bcfa4ac9474f2c45c0

Contents?: true

Size: 328 Bytes

Versions: 4

Compression:

Stored size: 328 Bytes

Contents

FactoryBot.define do
  factory :crew_overtime, class: 'Ecom::Core::CrewOvertime' do
    hours { 2 }
    converted_hours { 2 }
    remark { FFaker::Name.name }
    association :overtime_type
    association :overtime_sheet_entry
    revised { false }
    revision_to { nil }
    association :created_by, factory: :user
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ecom_core-1.1.20 spec/factories/ecom/core/crew_overtimes.rb
ecom_core-1.1.19 spec/factories/ecom/core/crew_overtimes.rb
ecom_core-1.1.18 spec/factories/ecom/core/crew_overtimes.rb
ecom_core-1.1.17 spec/factories/ecom/core/crew_overtimes.rb