Sha256: be43108b0c2472e77eb8b0c2899f7ba73148fbedfa0f03dfc5ca67854f8f6909

Contents?: true

Size: 351 Bytes

Versions: 35

Compression:

Stored size: 351 Bytes

Contents

FactoryBot.define do
  factory :client, class: "Comee::Core::Client" do
    user
    sequence(:code) { |n| "#{Faker::Alphanumeric.unique.alpha(number: 8)}-#{n}" }
    name { Faker::Name.name }
    address { Faker::Address.full_address }
    locale { "en" }
    parent { nil }
    consignees { [] }
    shipment_addresses { [] }
    currency
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
comee_core-0.2.31 spec/factories/comee/core/clients.rb
comee_core-0.2.30 spec/factories/comee/core/clients.rb
comee_core-0.2.29 spec/factories/comee/core/clients.rb
comee_core-0.2.28 spec/factories/comee/core/clients.rb
comee_core-0.2.27 spec/factories/comee/core/clients.rb
comee_core-0.2.26 spec/factories/comee/core/clients.rb
comee_core-0.2.25 spec/factories/comee/core/clients.rb
comee_core-0.2.24 spec/factories/comee/core/clients.rb
comee_core-0.2.23 spec/factories/comee/core/clients.rb
comee_core-0.2.22 spec/factories/comee/core/clients.rb
comee_core-0.2.21 spec/factories/comee/core/clients.rb
comee_core-0.2.20 spec/factories/comee/core/clients.rb
comee_core-0.2.19 spec/factories/comee/core/clients.rb
comee_core-0.2.18 spec/factories/comee/core/clients.rb
comee_core-0.2.17 spec/factories/comee/core/clients.rb
comee_core-0.2.16 spec/factories/comee/core/clients.rb
comee_core-0.2.15 spec/factories/comee/core/clients.rb
comee_core-0.2.14 spec/factories/comee/core/clients.rb
comee_core-0.2.13 spec/factories/comee/core/clients.rb
comee_core-0.2.12 spec/factories/comee/core/clients.rb