Sha256: 1781b274925dafce5f8b19f82f9b7b6f3eca4b92fab002810e5041bc64c0927d
Contents?: true
Size: 315 Bytes
Versions: 46
Compression:
Stored size: 315 Bytes
Contents
FactoryBot.define do factory :profile, class: Profile do |f| f.user_group_id {UserGroup.first.id} f.required_role_id {Role.where(name: 'User').first.id} f.sequence(:user_number){|n| "user_number_#{n}"} f.library_id { 2 } f.locale { "ja" } f.user_id {FactoryBot.create(:user).id} end end
Version data entries
46 entries across 46 versions & 3 rubygems