factory_girl is now factory_bot
This commit is contained in:
parent
5eb4f12b48
commit
a2f4e8b283
40 changed files with 72 additions and 72 deletions
|
@ -1,4 +1,4 @@
|
|||
FactoryGirl.define do
|
||||
FactoryBot.define do
|
||||
sequence(:user_email) { |n| "user#{n}@user.com" }
|
||||
factory :user do
|
||||
email { generate(:user_email) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue