Sha256: de0d30576191ba31502c47c04d66b8baf2f3608a84de76b4c08d3532b535123a

Contents?: true

Size: 1.01 KB

Versions: 9

Compression:

Stored size: 1.01 KB

Contents

FactoryBot.define do
  factory :customer_vault_individual, class: ::Dorsale::CustomerVault::Individual do
    origin     { create(:customer_vault_origin)                      }
    first_name { Faker::Name.first_name                              }
    last_name  { Faker::Name.last_name                               }
    short_name { "SN"                                                }
    email      { Faker::Internet.email("#{first_name} #{last_name}") }
    title      { "Individual-Title"                                  }
    twitter    { "#{first_name}#{last_name}"                         }
    www        { Faker::Internet.url                                 }
    context    { "Individual-Context"                                }
    phone      { "01 23 xx xx xx"                                    }
    fax        { "09 xx xx xx xx"                                    }
    mobile     { "06 xx xx xx xx"                                    }
    address    { build(:dorsale_address)                             }
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dorsale-3.14.11 spec/factories/customer_vault_individuals.rb
dorsale-3.14.10 spec/factories/customer_vault_individuals.rb
dorsale-3.14.9 spec/factories/customer_vault_individuals.rb
dorsale-3.14.8 spec/factories/customer_vault_individuals.rb
dorsale-3.14.7 spec/factories/customer_vault_individuals.rb
dorsale-3.14.6 spec/factories/customer_vault_individuals.rb
dorsale-3.14.5 spec/factories/customer_vault_individuals.rb
dorsale-3.14.3 spec/factories/customer_vault_individuals.rb
dorsale-3.14.2 spec/factories/customer_vault_individuals.rb