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