Sha256: 727542d80d580bc8cc479144e56d8eb03f0f15ac1f4ddb4dd18651977ac75aac

Contents?: true

Size: 279 Bytes

Versions: 2

Compression:

Stored size: 279 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 }
    association :crew
    remark { FFaker::Name.name }
    overtime { false }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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