Sha256: 6660deada40da42f7a86fc332b3f5dd881555e36508d2ff9738a7b6c36533ec9

Contents?: true

Size: 376 Bytes

Versions: 52

Compression:

Stored size: 376 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
    subsidiary { false }
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
comee_core-0.2.43 spec/factories/comee/core/clients.rb
comee_core-0.2.42 spec/factories/comee/core/clients.rb
comee_core-0.2.41 spec/factories/comee/core/clients.rb
comee_core-0.2.40 spec/factories/comee/core/clients.rb
comee_core-0.2.39 spec/factories/comee/core/clients.rb
comee_core-0.2.38 spec/factories/comee/core/clients.rb
comee_core-0.2.37 spec/factories/comee/core/clients.rb
comee_core-0.2.36 spec/factories/comee/core/clients.rb
comee_core-0.2.35 spec/factories/comee/core/clients.rb
comee_core-0.2.34 spec/factories/comee/core/clients.rb
comee_core-0.2.33 spec/factories/comee/core/clients.rb
comee_core-0.2.32 spec/factories/comee/core/clients.rb