Sha256: 3367cd090ef5c3ed927171970e695519fc78905ddbc8a9f90052ff95d7b91dca

Contents?: true

Size: 448 Bytes

Versions: 31

Compression:

Stored size: 448 Bytes

Contents

FactoryBot.define do
  factory :stakeholder, class: Ecom::Core::Stakeholder do
    sequence :name do |n|
      "Stakeholder #{n}"
    end
    type_of_business { FFaker::Name.name }
    address { FFaker::Name.name }
    license_no { FFaker::Name.name }
    tin_no { FFaker::Name.name }
    contact_name { FFaker::Name.name }
    contact_phone { FFaker::Name.name }
    contact_email { FFaker::Name.name }
    association :stakeholder_type
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
ecom_core-1.2.31 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.2.30 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.2.29 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.2.28 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.2.27 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.2.26 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.2.25 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.2.24 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.2.23 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.2.22 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.2.21 spec/factories/ecom/core/stakeholders.rb