Sha256: 7a10e639ac067fb83e2440d7ab9d5937dddbd4ba9fe0adffc1769555b683eff5
Contents?: true
Size: 1.35 KB
Versions: 11
Compression:
Stored size: 1.35 KB
Contents
# Copyright (c) 2008-2013 Michael Dvorkin and contributors. # # Fat Free CRM is freely distributable under the terms of MIT license. # See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php #------------------------------------------------------------------------------ FactoryGirl.define do factory :account do user assigned_to nil name { Faker::Company.name + rand(100).to_s } access "Public" website { FactoryGirl.generate(:website) } email { Faker::Internet.email } toll_free_phone { Faker::PhoneNumber.phone_number } phone { Faker::PhoneNumber.phone_number } fax { Faker::PhoneNumber.phone_number } background_info { Faker::Lorem.paragraph[0,255] } deleted_at nil updated_at { FactoryGirl.generate(:time) } created_at { FactoryGirl.generate(:time) } end factory :account_contact do account contact deleted_at nil updated_at { FactoryGirl.generate(:time) } created_at { FactoryGirl.generate(:time) } end factory :account_opportunity do account opportunity deleted_at nil updated_at { FactoryGirl.generate(:time) } created_at { FactoryGirl.generate(:time) } end end
Version data entries
11 entries across 11 versions & 1 rubygems