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.3.5 test/factories/account.rb
mls-0.3.4 test/factories/account.rb
mls-0.3.3 test/factories/account.rb
mls-0.3.2 test/factories/account.rb
mls-0.3.1 test/factories/account.rb
mls-0.3.0 test/factories/account.rb
mls-0.2.54 test/factories/account.rb
mls-0.2.53 test/factories/account.rb
mls-0.2.52 test/factories/account.rb
mls-0.2.51 test/factories/account.rb
mls-0.2.50 test/factories/account.rb
mls-0.2.49 test/factories/account.rb
mls-0.2.48 test/factories/account.rb
mls-0.2.47 test/factories/account.rb
mls-0.2.46 test/factories/account.rb
mls-0.2.45 test/factories/account.rb
mls-0.2.44 test/factories/account.rb
mls-0.2.43 test/factories/account.rb
mls-0.2.42 test/factories/account.rb
mls-0.2.41 test/factories/account.rb