Sha256: 37f6895dc52477ae9c6bc912e477a12375e03e843b9dda18caec6cb5d0b2589a
Contents?: true
Size: 599 Bytes
Versions: 13
Compression:
Stored size: 599 Bytes
Contents
FactoryBot.define do factory :task_template, class: Ecom::Core::TaskTemplate do sequence :code do |n| "TTCode#{n}" end name { FFaker::Name.name } description { FFaker::Name.name } association :task_template_type has_takeoff_fields { false } takeoff_fields { [{ name: 'length', label: 'Length' }] } percentage_contribution { nil } task_sequence { 1 } has_inspection { false } discipline { false } task_completion_detail do [ { name: 'length', label: 'Length' }, { name: 'width', label: 'Width' } ] end end end
Version data entries
13 entries across 13 versions & 1 rubygems