Sha256: cde59ea6318480660c47024c9cdbdbc007da222c7e73eecffc3299daf21c66db

Contents?: true

Size: 341 Bytes

Versions: 1

Compression:

Stored size: 341 Bytes

Contents

FactoryBot.define do
  factory :crew_time, class: 'Ecom::Core::CrewTime' do
    checkin_time { Time.now }
    checkout_time { Time.now + 2 * 60 * 60 }
    hours { 2 }
    converted_hours { 2 }
    association :crew
    remark { FFaker::Name.name }
    overtime { false }
    overtime_type { nil }
    association :attendance_sheet
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ecom_core-1.1.8 spec/factories/ecom/core/crew_times.rb