Sha256: 3d8383230672f03191fb5eb86891e8145f5a08e36831efcb9682ecefa0361852

Contents?: true

Size: 497 Bytes

Versions: 74

Compression:

Stored size: 497 Bytes

Contents

FactoryGirl.define do
  factory :account, :class => MLS::Account do
    name { Faker::Name.name }
    email { Faker::Internet.email }
    password { 'test' }
    password_confirmation 'test'
  end
  
  factory :broker, :class => MLS::Account, :parent => :account do
    type 'Account'
  end
  
  factory :ghost_account, :class => MLS::Account do
    name                    { Faker::Name.name }
    email                   { Faker::Internet.email }
    password_required       { false } 
  end
end

Version data entries

74 entries across 74 versions & 1 rubygems

Version Path
mls-0.9.9 test/factories/account.rb
mls-0.9.8 test/factories/account.rb
mls-0.9.6 test/factories/account.rb
mls-0.9.5 test/factories/account.rb
mls-0.9.4 test/factories/account.rb
mls-0.9.3 test/factories/account.rb
mls-0.9.2 test/factories/account.rb
mls-0.9.1 test/factories/account.rb
mls-0.9.0 test/factories/account.rb
mls-0.8.2 test/factories/account.rb
mls-0.8.1 test/factories/account.rb
mls-0.8.0 test/factories/account.rb
mls-0.7.2 test/factories/account.rb
mls-0.7.1 test/factories/account.rb
mls-0.7.0 test/factories/account.rb
mls-0.6.7 test/factories/account.rb
mls-0.6.6 test/factories/account.rb
mls-0.6.5 test/factories/account.rb
mls-0.6.4 test/factories/account.rb
mls-0.6.3 test/factories/account.rb