Sha256: 572e3aae57401311f3ac7855d7557786d6dc08c61be5975b7917211f1d431ada

Contents?: true

Size: 272 Bytes

Versions: 14

Compression:

Stored size: 272 Bytes

Contents

FactoryBot.define do
  factory :overtime_sheet, class: Ecom::Core::OvertimeSheet do
    date { Date.today }
    opened_at { DateTime.now }
    submitted_at { nil }
    approved_at { nil }
    status { Ecom::Core::StatusConstants::OPEN }
    association :project
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ecom_core-1.2.34 spec/factories/ecom/core/overtime_sheets.rb
ecom_core-1.2.33 spec/factories/ecom/core/overtime_sheets.rb
ecom_core-1.2.32 spec/factories/ecom/core/overtime_sheets.rb
ecom_core-1.2.31 spec/factories/ecom/core/overtime_sheets.rb
ecom_core-1.2.30 spec/factories/ecom/core/overtime_sheets.rb
ecom_core-1.2.29 spec/factories/ecom/core/overtime_sheets.rb
ecom_core-1.2.28 spec/factories/ecom/core/overtime_sheets.rb
ecom_core-1.2.27 spec/factories/ecom/core/overtime_sheets.rb
ecom_core-1.2.26 spec/factories/ecom/core/overtime_sheets.rb
ecom_core-1.2.25 spec/factories/ecom/core/overtime_sheets.rb
ecom_core-1.2.24 spec/factories/ecom/core/overtime_sheets.rb
ecom_core-1.2.23 spec/factories/ecom/core/overtime_sheets.rb
ecom_core-1.2.22 spec/factories/ecom/core/overtime_sheets.rb
ecom_core-1.2.21 spec/factories/ecom/core/overtime_sheets.rb