Sha256: a1818e4ea672d70a6a56b7f090a13000a39824ce2cd25d5f9c121bccd54fd173

Contents?: true

Size: 331 Bytes

Versions: 25

Compression:

Stored size: 331 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 }
    converted_hours { 2 }
    association :crew
    remark { FFaker::Name.name }
    overtime { false }
    overtime_type { nil }
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
ecom_core-1.1.7 spec/factories/ecom/core/crew_times.rb
ecom_core-1.1.6 spec/factories/ecom/core/crew_times.rb
ecom_core-1.1.5 spec/factories/ecom/core/crew_times.rb
ecom_core-1.1.4 spec/factories/ecom/core/crew_times.rb
ecom_core-1.1.3 spec/factories/ecom/core/crew_times.rb
ecom_core-1.1.2 spec/factories/ecom/core/crew_times.rb
ecom_core-1.1.1 spec/factories/ecom/core/crew_times.rb
ecom_core-1.1.0 spec/factories/ecom/core/crew_times.rb
ecom_core-1.0.25 spec/factories/ecom/core/crew_times.rb
ecom_core-1.0.24 spec/factories/ecom/core/crew_times.rb
ecom_core-1.0.23 spec/factories/ecom/core/crew_times.rb
ecom_core-1.0.22 spec/factories/ecom/core/crew_times.rb
ecom_core-1.0.21 spec/factories/ecom/core/crew_times.rb
ecom_core-1.0.20 spec/factories/ecom/core/crew_times.rb
ecom_core-1.0.19 spec/factories/ecom/core/crew_times.rb
ecom_core-1.0.18 spec/factories/ecom/core/crew_times.rb
ecom_core-1.0.17 spec/factories/ecom/core/crew_times.rb
ecom_core-1.0.16 spec/factories/ecom/core/crew_times.rb
ecom_core-1.0.15 spec/factories/ecom/core/crew_times.rb
ecom_core-1.0.14 spec/factories/ecom/core/crew_times.rb