Sha256: 4bc243605ced8f9b2872e923bf09edfa9e52872746d6bce170ca107003f57400

Contents?: true

Size: 429 Bytes

Versions: 61

Compression:

Stored size: 429 Bytes

Contents

FactoryBot.define do
  factory :stakeholder, class: 'Ecom::Core::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

61 entries across 61 versions & 1 rubygems

Version Path
ecom_core-1.1.14 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.1.13 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.1.12 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.1.11 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.1.10 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.1.9 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.1.8 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.1.7 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.1.6 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.1.5 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.1.4 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.1.3 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.1.2 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.1.1 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.1.0 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.0.25 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.0.24 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.0.23 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.0.22 spec/factories/ecom/core/stakeholders.rb
ecom_core-1.0.21 spec/factories/ecom/core/stakeholders.rb