Sha256: 3af2fd8b44c92c8069851cacada67acbad4362f9f1ed39959cae1919159fd5d6

Contents?: true

Size: 299 Bytes

Versions: 19

Compression:

Stored size: 299 Bytes

Contents

FactoryBot.define do
  factory :work_package, class: Ecom::Core::WorkPackage do
    sequence :code do |n|
      "WPCode#{n}"
    end
    name { FFaker::Name.name }
    description { FFaker::Name.name }
    start_date { Date.yesterday }
    end_date { Date.today }
    association :project
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

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