Sha256: b1111f55ea2ebd782aa02f5071c21fb5ef88a0cecf2455263f7714f3c68d8b96
Contents?: true
Size: 474 Bytes
Versions: 1
Compression:
Stored size: 474 Bytes
Contents
FactoryBot.define do factory :users, class: Releaf::Permissions::User do trait :user_basic do email name surname locale { 'en' } password { 'password' } password_confirmation { 'password' } end factory :user do user_basic association :role, factory: :admin_role end factory :content_user do user_basic association :role, factory: :content_role end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
releaf-2.0.0 | spec/factories/user.rb |