Sha256: a1818e4ea672d70a6a56b7f090a13000a39824ce2cd25d5f9c121bccd54fd173

Contents?: true

Size: 331 Bytes

Versions: 25

Compression:

Stored size: 331 Bytes

Contents

FactoryBot.define do
  factory :crew_time, class: 'Ecom::Core::CrewTime' do
    date { Date.today }
    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 }
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
ecom_core-1.0.13 spec/factories/ecom/core/crew_times.rb
ecom_core-1.0.12 spec/factories/ecom/core/crew_times.rb
ecom_core-1.0.11 spec/factories/ecom/core/crew_times.rb
ecom_core-1.0.10 spec/factories/ecom/core/crew_times.rb
ecom_core-1.0.9 spec/factories/ecom/core/crew_times.rb