Sha256: d531706c4f13d58aac479ac0f1874a62124e1bfd232e27d75a393c1e4471adf6
Contents?: true
Size: 264 Bytes
Versions: 13
Compression:
Stored size: 264 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
13 entries across 13 versions & 1 rubygems