Sha256: a5c46e765b634cd9b6419f142b165340e7541c1268a9628e0c3dd00f63bca7cf

Contents?: true

Size: 263 Bytes

Versions: 6

Compression:

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ecom_core-1.0.5 spec/factories/ecom/core/crew_times.rb
ecom_core-1.0.4 spec/factories/ecom/core/crew_times.rb
ecom_core-1.0.3 spec/factories/ecom/core/crew_times.rb
ecom_core-1.0.2 spec/factories/ecom/core/crew_times.rb
ecom_core-1.0.1 spec/factories/ecom/core/crew_times.rb
ecom_core-1.0.0 spec/factories/ecom/core/crew_times.rb