Sha256: 3e489aa252d0b5341ae3118d6e2ecd68b3ecb920baf88339288ba91c4760d7b4
Contents?: true
Size: 953 Bytes
Versions: 1
Compression:
Stored size: 953 Bytes
Contents
FactoryGirl.define do factory :customer_vault_individual, aliases: [:individual, :person], class: CustomerVault::Individual do first_name { Faker::Name.first_name } last_name { Faker::Name.last_name } 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" } after(:create) do |individual| FactoryGirl.create(:address, addressable: individual) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
customer_vault-1.2.8 | spec/factories/customer_vault_individuals.rb |