Sha256: fb9b44888bde3fa6f29f390c91005ea13d163e6219136f2ee1b8bc8725ff53ea

Contents?: true

Size: 283 Bytes

Versions: 18

Compression:

Stored size: 283 Bytes

Contents

FactoryBot.define do
  factory :work_product_template, class: Ecom::Core::WorkProductTemplate do
    sequence :code do |n|
      "Code#{n}"
    end
    sequence :name do |n|
      "Name#{n}"
    end
    description { FFaker::Name.name }
    association :task_template_type
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
ecom_core-1.2.34 spec/factories/ecom/core/work_product_templates.rb
ecom_core-1.2.33 spec/factories/ecom/core/work_product_templates.rb
ecom_core-1.2.32 spec/factories/ecom/core/work_product_templates.rb
ecom_core-1.2.31 spec/factories/ecom/core/work_product_templates.rb
ecom_core-1.2.30 spec/factories/ecom/core/work_product_templates.rb
ecom_core-1.2.29 spec/factories/ecom/core/work_product_templates.rb
ecom_core-1.2.28 spec/factories/ecom/core/work_product_templates.rb
ecom_core-1.2.27 spec/factories/ecom/core/work_product_templates.rb
ecom_core-1.2.26 spec/factories/ecom/core/work_product_templates.rb
ecom_core-1.2.25 spec/factories/ecom/core/work_product_templates.rb
ecom_core-1.2.24 spec/factories/ecom/core/work_product_templates.rb
ecom_core-1.2.23 spec/factories/ecom/core/work_product_templates.rb
ecom_core-1.2.22 spec/factories/ecom/core/work_product_templates.rb
ecom_core-1.2.21 spec/factories/ecom/core/work_product_templates.rb
ecom_core-1.2.20 spec/factories/ecom/core/work_product_templates.rb
ecom_core-1.2.19 spec/factories/ecom/core/work_product_templates.rb
ecom_core-1.2.18 spec/factories/ecom/core/work_product_templates.rb
ecom_core-1.2.17 spec/factories/ecom/core/work_product_templates.rb