Replace All FactoryGirl Constant References
This commit is contained in:
parent
82c3372af2
commit
0a19418d15
55 changed files with 56 additions and 56 deletions
|
|
@ -15,7 +15,7 @@
|
|||
# For a non-admin user, use: `create(:user)`
|
||||
# For an admin user, use: `create(:admin)
|
||||
|
||||
FactoryGirl.define do
|
||||
FactoryBot.define do
|
||||
factory :user do
|
||||
sequence(:email) { |n| "example#{n}@example.com" }
|
||||
sequence(:name) { |n| "name#{n}" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue