spec/factories/profile.rb in enju_subject-0.3.0.rc.1 vs spec/factories/profile.rb in enju_subject-0.3.0
- old
+ new
@@ -1,9 +1,9 @@
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.library_id { 2 }
+ f.locale { 'ja' }
end
end