Add User factory
This commit is contained in:
parent
ff63380c9c
commit
3043c9f0d7
|
|
@ -0,0 +1,8 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
FactoryBot.define do
|
||||
factory :user do
|
||||
username { Faker::Internet.username }
|
||||
email { Faker::Internet.email }
|
||||
end
|
||||
end
|
||||
Loading…
Reference in New Issue