Sha256: 264da52eedf0f8ad19ce67ef7c668b272bbe7c45f4b0c3d8ae3593cf68ed7991
Contents?: true
Size: 263 Bytes
Versions: 4
Compression:
Stored size: 263 Bytes
Contents
FactoryBot.define do factory :profile, class: Profile do |f| f.user_group {UserGroup.first} f.required_role {Role.find_by_name('User')} f.sequence(:user_number){|n| "user_number_#{n}"} f.library {Library.find(2)} f.locale { 'ja' } end end
Version data entries
4 entries across 4 versions & 1 rubygems