Sha256: 6dd587a098a5c479efbdf054196052ef24cf35131c42e1fd055c9be63a8d46d5

Contents?: true

Size: 392 Bytes

Versions: 17

Compression:

Stored size: 392 Bytes

Contents

FactoryBot.define do
  factory :task_inspection_checklist, class: Ecom::Core::TaskInspectionChecklist do
    name { FFaker::Name.name }
    date_of_inspection { Date.today }
    association :inspected_by, factory: :user
    status { Ecom::Core::TaskInspectionChecklist::NOT_INSPECTED }
    remark { FFaker::Name.name }
    recommendation { FFaker::Name.name }
    association :task
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
ecom_core-1.3.14 spec/factories/ecom/core/task_inspection_checklists.rb
ecom_core-1.3.13 spec/factories/ecom/core/task_inspection_checklists.rb
ecom_core-1.3.12 spec/factories/ecom/core/task_inspection_checklists.rb
ecom_core-1.3.11 spec/factories/ecom/core/task_inspection_checklists.rb
ecom_core-1.3.10 spec/factories/ecom/core/task_inspection_checklists.rb
ecom_core-1.3.9 spec/factories/ecom/core/task_inspection_checklists.rb
ecom_core-1.3.8 spec/factories/ecom/core/task_inspection_checklists.rb
ecom_core-1.3.7 spec/factories/ecom/core/task_inspection_checklists.rb
ecom_core-1.3.6 spec/factories/ecom/core/task_inspection_checklists.rb
ecom_core-1.3.5 spec/factories/ecom/core/task_inspection_checklists.rb
ecom_core-1.3.4 spec/factories/ecom/core/task_inspection_checklists.rb
ecom_core-1.3.3 spec/factories/ecom/core/task_inspection_checklists.rb
ecom_core-1.3.2 spec/factories/ecom/core/task_inspection_checklists.rb
ecom_core-1.3.1 spec/factories/ecom/core/task_inspection_checklists.rb
ecom_core-1.3.0 spec/factories/ecom/core/task_inspection_checklists.rb
ecom_core-1.2.36 spec/factories/ecom/core/task_inspection_checklists.rb
ecom_core-1.2.35 spec/factories/ecom/core/task_inspection_checklists.rb