Sha256: 8b80cc957525fb1ca4368921f85fad0259b0e2efe5c79fd2183ef8ee6154e7de

Contents?: true

Size: 278 Bytes

Versions: 2

Compression:

Stored size: 278 Bytes

Contents

FactoryBot.define do
  factory :attendance_sheet, class: Ecom::Core::AttendanceSheet do
    date { Date.today }
    opened_at { Time.now }
    closed_at { nil }
    remark { FFaker::Name.name }
    status { Ecom::Core::AttendanceSheet::OPEN }
    association :project
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecom_core-1.2.7 spec/factories/ecom/core/attendance_sheets.rb
ecom_core-1.2.6 spec/factories/ecom/core/attendance_sheets.rb