Sha256: 3abc1eb6ec45007ada73d499a1d3d3fbf02ac78580298e5031dc27a417f80361
Contents?: true
Size: 494 Bytes
Versions: 16
Compression:
Stored size: 494 Bytes
Contents
# Read about factories at https://github.com/thoughtbot/factory_girl FactoryGirl.define do factory :user, 'class'.to_sym => 'Faalis::User' do first_name Faker::Name.first_name last_name Faker::Name.first_name sequence :email do |n| "person#{n}@example.com" end factory :admin do groups { [group(:admin)] } end factory :manager do groups { [group(:manager)] } end factory :guest do groups { [group(:guest)] } end end end
Version data entries
16 entries across 16 versions & 1 rubygems