Sha256: 76100a9c546f0667714beefee60ad171063bf8476853e158b286b3ec36e532e4

Contents?: true

Size: 269 Bytes

Versions: 5

Compression:

Stored size: 269 Bytes

Contents

FactoryBot.define do
  factory :task, class: 'Ecom::Model::Task' do
    code { FFaker::Name.name }
    name { FFaker::Name.name }
    description { FFaker::Name.name }
    ancestry { FFaker::Name.name }
    association :project
    association :task_template
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecom_model-2.0.4 spec/factories/ecom/model/tasks.rb
ecom_model-2.0.3 spec/factories/ecom/model/tasks.rb
ecom_model-2.0.2 spec/factories/ecom/model/tasks.rb
ecom_model-2.0.1 spec/factories/ecom/model/tasks.rb
ecom_model-2.0.0 spec/factories/ecom/model/tasks.rb