Sha256: 793f3e37799c8bda89565f2176f7ce70dda5a6ec99989d4f4774a52ae94a79b0

Contents?: true

Size: 264 Bytes

Versions: 2

Compression:

Stored size: 264 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecom_model-2.0.4 spec/factories/ecom/model/crew_times.rb
ecom_model-2.0.3 spec/factories/ecom/model/crew_times.rb