Sha256: fc801085a26f6b18273601dd23ab2df7f48b7536149651ec2fdb46f238f6f312
Contents?: true
Size: 559 Bytes
Versions: 1
Compression:
Stored size: 559 Bytes
Contents
FactoryGirl.define do factory :customer_vault_corporation, aliases: [:corporation], class: CustomerVault::Corporation do name { "#{Faker::Company.name} #{Faker::Company.suffix}" } email { Faker::Internet.email } phone { "06 xx xx xx xx" } fax { "09 xx xx xx xx" } www { Faker::Internet.url } after(:create) do |corporation| FactoryGirl.create(:address, addressable: corporation) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
customer_vault-1.2.8 | spec/factories/customer_vault_corporations.rb |