Sha256: 7602c71a4d3139e07f28a960a635a7728b365c4bcb4d4b97d76af0633d614264

Contents?: true

Size: 496 Bytes

Versions: 24

Compression:

Stored size: 496 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
    role 'broker'
  end
  
  factory :ghost_account, :class => MLS::Account do
    name                    { Faker::Name.name }
    email                   { Faker::Internet.email }
    password_required       { false } 
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
mls-0.2.24 test/factories/account.rb
mls-0.2.23 test/factories/account.rb
mls-0.2.21 test/factories/account.rb
mls-0.2.20 test/factories/account.rb
mls-0.2.19 test/factories/account.rb
mls-0.2.18 test/factories/account.rb
mls-0.2.17 test/factories/account.rb
mls-0.2.16 test/factories/account.rb
mls-0.2.15 test/factories/account.rb
mls-0.2.14 test/factories/account.rb
mls-0.2.13 test/factories/account.rb
mls-0.2.12 test/factories/account.rb
mls-0.2.11 test/factories/account.rb
mls-0.2.9.1 test/factories/account.rb
mls-0.2.10 test/factories/account.rb
mls-0.2.9 test/factories/account.rb
mls-0.2.8.2 test/factories/account.rb
mls-0.2.8.1 test/factories/account.rb
mls-0.2.8 test/factories/account.rb
mls-0.2.7 test/factories/account.rb