Sha256: fea312b6a5052ff1c2cae230e1635ce8d971728cf9e1451d570ed5252565e75b
Contents?: true
Size: 797 Bytes
Versions: 10
Compression:
Stored size: 797 Bytes
Contents
FactoryGirl.define do factory :customer_vault_corporation, class: ::Dorsale::CustomerVault::Corporation do activity_type { create(:customer_vault_activity_type) } origin { create(:customer_vault_origin) } name { "#{Faker::Company.name} #{Faker::Company.suffix}" } short_name { "SN" } email { Faker::Internet.email } phone { "06 xx xx xx xx" } fax { "09 xx xx xx xx" } www { Faker::Internet.url } after(:create) do |corporation| create(:dorsale_address, addressable: corporation) end end end
Version data entries
10 entries across 10 versions & 1 rubygems