Sha256: 70aacebfb2e4b425cbf9ae0ea6be4c867a642dbac08f7bb6664519e7f5ee415e
Contents?: true
Size: 446 Bytes
Versions: 15
Compression:
Stored size: 446 Bytes
Contents
FactoryBot.define do factory :user do sequence :email do |n| "foo#{n}@example.com" end password { "password" } role { :user } factory :admin do sequence :email do |n| "admin#{n}@example.com" end role { :admin } end factory :limited_access_admin do sequence :email do |n| "limited_admin#{n}@example.com" end role { :admin_limited_access } end end end
Version data entries
15 entries across 15 versions & 1 rubygems