vt-social/spec/fabricators/user_fabricator.rb

7 lines
170 B
Ruby

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