Sha256: 88ae0cf2a094af87e657ac00ca8d870f2115fc8818e99ba59a97ea2332358f26

Contents?: true

Size: 254 Bytes

Versions: 12

Compression:

Stored size: 254 Bytes

Contents

FactoryBot.define do
  factory :client, class: "Comee::Core::Client" do
    user
    code { Faker::Alphanumeric.alpha(number: 8) }
    name { Faker::Name.name }
    address { Faker::Address.full_address }
    locale { "en" }
    discount { 0 }
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
comee_core-0.1.29 spec/factories/comee/core/clients.rb
comee_core-0.1.28 spec/factories/comee/core/clients.rb
comee_core-0.1.27 spec/factories/comee/core/clients.rb
comee_core-0.1.26 spec/factories/comee/core/clients.rb
comee_core-0.1.25 spec/factories/comee/core/clients.rb
comee_core-0.1.24 spec/factories/comee/core/clients.rb
comee_core-0.1.23 spec/factories/comee/core/clients.rb
comee_core-0.1.22 spec/factories/comee/core/clients.rb
comee_core-0.1.21 spec/factories/comee/core/clients.rb
comee_core-0.1.20 spec/factories/comee/core/clients.rb
comee_core-0.1.19 spec/factories/comee/core/clients.rb
comee_core-0.1.18 spec/factories/comee/core/clients.rb