Sha256: 2f17ae521a0e84bfb1fdba08e39ff1bfdc8d1e86ad33032e2de679b808f1dfd5
Contents?: true
Size: 414 Bytes
Versions: 5
Compression:
Stored size: 414 Bytes
Contents
FactoryBot.define do factory :task_template, class: 'Ecom::Model::TaskTemplate' do code { FFaker::Name.name } name { FFaker::Name.name } description { FFaker::Name.name } association :task_template_type factory :task_template_with_product_template do after :create do |task_template, _| create(:work_product_template, task_template: task_template) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems