spec/factories/profile.rb in enju_subject-0.2.2 vs spec/factories/profile.rb in enju_subject-0.2.3
- old
+ new
@@ -1,5 +1,5 @@
-FactoryGirl.define do
+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