Sha256: be588a9641e436811b237752cc3ef7792d5841f8900b268ceb84e9701a88780e

Contents?: true

Size: 240 Bytes

Versions: 3

Compression:

Stored size: 240 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ecom_model-2.0.2 spec/factories/ecom/model/crew_times.rb
ecom_model-2.0.1 spec/factories/ecom/model/crew_times.rb
ecom_model-2.0.0 spec/factories/ecom/model/crew_times.rb