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