Sha256: 2547b6446602f0ef9ff606a6050be9d8098c015d2a391e3eab45a2b85bc20be7

Contents?: true

Size: 322 Bytes

Versions: 14

Compression:

Stored size: 322 Bytes

Contents

FactoryBot.define do
  factory :crew_overtime, class: 'Ecom::Core::CrewOvertime' do
    raw_hours { 2 }
    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

14 entries across 14 versions & 1 rubygems

Version Path
ecom_core-1.2.5 spec/factories/ecom/core/crew_overtimes.rb
ecom_core-1.2.4 spec/factories/ecom/core/crew_overtimes.rb
ecom_core-1.2.3 spec/factories/ecom/core/crew_overtimes.rb
ecom_core-1.2.2 spec/factories/ecom/core/crew_overtimes.rb
ecom_core-1.2.1 spec/factories/ecom/core/crew_overtimes.rb
ecom_core-1.2.0 spec/factories/ecom/core/crew_overtimes.rb
ecom_core-1.1.28 spec/factories/ecom/core/crew_overtimes.rb
ecom_core-1.1.27 spec/factories/ecom/core/crew_overtimes.rb
ecom_core-1.1.26 spec/factories/ecom/core/crew_overtimes.rb
ecom_core-1.1.25 spec/factories/ecom/core/crew_overtimes.rb
ecom_core-1.1.24 spec/factories/ecom/core/crew_overtimes.rb
ecom_core-1.1.23 spec/factories/ecom/core/crew_overtimes.rb
ecom_core-1.1.22 spec/factories/ecom/core/crew_overtimes.rb
ecom_core-1.1.21 spec/factories/ecom/core/crew_overtimes.rb