renaming factory girl => factory bot

This commit is contained in:
Adam Cooke
2019-03-14 10:46:41 +00:00
parent 145a5f3cba
commit f56dac2284
8 changed files with 26 additions and 26 deletions
+5 -5
View File
@@ -23,13 +23,13 @@
# index_users_on_uuid (uuid)
#
FactoryGirl.define do
FactoryBot.define do
factory :user do
first_name "John"
last_name "Doe"
password "passw0rd"
email_verified_at Time.now
first_name { "John" }
last_name { "Doe" }
password { "passw0rd" }
email_verified_at { Time.now }
sequence(:email_address) { |n| "user#{n}@example.com" }
end