Sha256: 408ab4bcc98f015829567aeabc6d18224eb5b1e9944b893820225f0b4183d60e

Contents?: true

Size: 309 Bytes

Versions: 14

Compression:

Stored size: 309 Bytes

Contents

FactoryBot.define do
  factory :attendance_sheet, class: Ecom::Core::AttendanceSheet do
    date { Date.today }
    opened_at { DateTime.now }
    submitted_at { nil }
    approved_at { nil }
    remark { FFaker::Name.name }
    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/attendance_sheets.rb
ecom_core-1.2.33 spec/factories/ecom/core/attendance_sheets.rb
ecom_core-1.2.32 spec/factories/ecom/core/attendance_sheets.rb
ecom_core-1.2.31 spec/factories/ecom/core/attendance_sheets.rb
ecom_core-1.2.30 spec/factories/ecom/core/attendance_sheets.rb
ecom_core-1.2.29 spec/factories/ecom/core/attendance_sheets.rb
ecom_core-1.2.28 spec/factories/ecom/core/attendance_sheets.rb
ecom_core-1.2.27 spec/factories/ecom/core/attendance_sheets.rb
ecom_core-1.2.26 spec/factories/ecom/core/attendance_sheets.rb
ecom_core-1.2.25 spec/factories/ecom/core/attendance_sheets.rb
ecom_core-1.2.24 spec/factories/ecom/core/attendance_sheets.rb
ecom_core-1.2.23 spec/factories/ecom/core/attendance_sheets.rb
ecom_core-1.2.22 spec/factories/ecom/core/attendance_sheets.rb
ecom_core-1.2.21 spec/factories/ecom/core/attendance_sheets.rb