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.88 spec/factories/comee/core/clients.rb
comee_core-0.2.87 spec/factories/comee/core/clients.rb
comee_core-0.2.86 spec/factories/comee/core/clients.rb
comee_core-0.2.85 spec/factories/comee/core/clients.rb
comee_core-0.2.84 spec/factories/comee/core/clients.rb
comee_core-0.2.83 spec/factories/comee/core/clients.rb
comee_core-0.2.82 spec/factories/comee/core/clients.rb
comee_core-0.2.81 spec/factories/comee/core/clients.rb
comee_core-0.2.80 spec/factories/comee/core/clients.rb
comee_core-0.2.78 spec/factories/comee/core/clients.rb
comee_core-0.2.77 spec/factories/comee/core/clients.rb
comee_core-0.2.76 spec/factories/comee/core/clients.rb
comee_core-0.2.75 spec/factories/comee/core/clients.rb
comee_core-0.2.70 spec/factories/comee/core/clients.rb
comee_core-0.2.69 spec/factories/comee/core/clients.rb
comee_core-0.2.68 spec/factories/comee/core/clients.rb
comee_core-0.2.67 spec/factories/comee/core/clients.rb
comee_core-0.2.66 spec/factories/comee/core/clients.rb
comee_core-0.2.65 spec/factories/comee/core/clients.rb
comee_core-0.2.64 spec/factories/comee/core/clients.rb