Sha256: 373ebd126d771ee08bb8a2b9747362c9076772f4b3acdc9dfe7a7fcc4ec3a884

Contents?: true

Size: 635 Bytes

Versions: 77

Compression:

Stored size: 635 Bytes

Contents

FactoryGirl.define do
  factory :customer_vault_corporation, class: ::Dorsale::CustomerVault::Corporation do
    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

77 entries across 77 versions & 1 rubygems

Version Path
dorsale-3.6.1 spec/factories/customer_vault_corporations.rb
dorsale-3.6.0 spec/factories/customer_vault_corporations.rb
dorsale-3.5.2 spec/factories/customer_vault_corporations.rb
dorsale-3.5.1 spec/factories/customer_vault_corporations.rb
dorsale-3.5.0 spec/factories/customer_vault_corporations.rb
dorsale-3.4.0 spec/factories/customer_vault_corporations.rb
dorsale-3.3.0 spec/factories/customer_vault_corporations.rb
dorsale-3.2.0 spec/factories/customer_vault_corporations.rb
dorsale-3.1.7 spec/factories/customer_vault_corporations.rb
dorsale-3.1.6 spec/factories/customer_vault_corporations.rb
dorsale-3.1.5 spec/factories/customer_vault_corporations.rb
dorsale-3.1.4 spec/factories/customer_vault_corporations.rb
dorsale-3.1.3 spec/factories/customer_vault_corporations.rb
dorsale-3.1.2 spec/factories/customer_vault_corporations.rb
dorsale-3.1.1 spec/factories/customer_vault_corporations.rb
dorsale-3.1.0 spec/factories/customer_vault_corporations.rb
dorsale-3.0.3 spec/factories/customer_vault_corporations.rb
dorsale-3.0.2 spec/factories/customer_vault_corporations.rb
dorsale-3.0.1 spec/factories/customer_vault_corporations.rb
dorsale-3.0.0 spec/factories/customer_vault_corporations.rb