Sha256: e3a4a87e3a1b8bc546da091ded8cc61e77964f1ea5425eba13fc53f997eb05b9

Contents?: true

Size: 430 Bytes

Versions: 5

Compression:

Stored size: 430 Bytes

Contents

FactoryBot.define do
  factory :stakeholder, class: 'Ecom::Model::Stakeholder' do
    name { FFaker::Name.unique.name }
    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

5 entries across 5 versions & 1 rubygems

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