metu.life/spec/fabricators/user_fabricator.rb

6 lines
165 B

Fabricator(:user) do
account
email { sequence(:email) { |i| "#{i}#{Faker::Internet.email}" } }
password "123456789"
confirmed_at { Time.now }
end