Sha256: d1dc6c43a55e1f85bc4a7e22ad263ae5bcb2658f637764eefb9a0970620ffe44

Contents?: true

Size: 340 Bytes

Versions: 16

Compression:

Stored size: 340 Bytes

Contents

FactoryBot.define do
  factory :crew_time, class: 'Ecom::Core::CrewTime' do
    checkin_time { Time.now }
    checkout_time { Time.now + 2 * 60 * 60 }
    hours { 2 }
    remark { FFaker::Name.name }
    association :attendance_sheet_entry
    revised { false }
    revision_to { nil }
    association :created_by, factory: :user
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ecom_core-1.2.5 spec/factories/ecom/core/crew_times.rb
ecom_core-1.2.4 spec/factories/ecom/core/crew_times.rb
ecom_core-1.2.3 spec/factories/ecom/core/crew_times.rb
ecom_core-1.2.2 spec/factories/ecom/core/crew_times.rb
ecom_core-1.2.1 spec/factories/ecom/core/crew_times.rb
ecom_core-1.2.0 spec/factories/ecom/core/crew_times.rb
ecom_core-1.1.28 spec/factories/ecom/core/crew_times.rb
ecom_core-1.1.27 spec/factories/ecom/core/crew_times.rb
ecom_core-1.1.26 spec/factories/ecom/core/crew_times.rb
ecom_core-1.1.25 spec/factories/ecom/core/crew_times.rb
ecom_core-1.1.24 spec/factories/ecom/core/crew_times.rb
ecom_core-1.1.23 spec/factories/ecom/core/crew_times.rb
ecom_core-1.1.22 spec/factories/ecom/core/crew_times.rb
ecom_core-1.1.21 spec/factories/ecom/core/crew_times.rb
ecom_core-1.1.20 spec/factories/ecom/core/crew_times.rb
ecom_core-1.1.19 spec/factories/ecom/core/crew_times.rb