spec/factories/user.rb in enju_biblio-0.2.3 vs spec/factories/user.rb in enju_biblio-0.2.4
- old
+ new
@@ -1,5 +1,5 @@
-FactoryGirl.define do
+FactoryBot.define do
factory :admin, :class => User do |f|
f.sequence(:username){|n| "admin_#{n}"}
f.sequence(:email){|n| "admin_#{n}@example.jp"}
f.password 'adminpassword'
f.password_confirmation 'adminpassword'