1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-01 08:18:53 +09:00
YuruToot/spec/fabricators/user_fabricator.rb

10 lines
267 B
Ruby

# frozen_string_literal: true
Fabricator(:user) do
account { Fabricate.build(:account, user: nil) }
email { sequence(:email) { |i| "#{i}#{Faker::Internet.email}" } }
password '123456789'
confirmed_at { Time.zone.now }
agreement true
end