Sha256: 161a114c7d0239d171edb89257ba776f95b307f42ebf47b0c1b5be6c9af9a979
Contents?: true
Size: 312 Bytes
Versions: 113
Compression:
Stored size: 312 Bytes
Contents
FactoryGirl.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 {FactoryGirl.create(:user).id} end end
Version data entries
113 entries across 109 versions & 7 rubygems