Sha256: 44899549370016d8243c83e9c4aec0ca9b70f80c27d8f75f266d8b65415599ef

Contents?: true

Size: 299 Bytes

Versions: 4

Compression:

Stored size: 299 Bytes

Contents

FactoryBot.define do
  factory :company, class: Ecom::Core::Company do
    sequence :code do |n|
      "CCode#{n}"
    end
    name { FFaker::Name.name }
    address { FFaker::Address.street_address }
    telephone { FFaker::PhoneNumber.phone_number }
    email { FFaker::Internet.email }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ecom_core-1.2.19 spec/factories/ecom/core/companies.rb
ecom_core-1.2.18 spec/factories/ecom/core/companies.rb
ecom_core-1.2.17 spec/factories/ecom/core/companies.rb
ecom_core-1.2.16 spec/factories/ecom/core/companies.rb