2
2
mirror of https://github.com/mastodon/mastodon synced 2025-04-12 00:56:38 +02:00
mastodon/spec/fabricators/user_fabricator.rb
2023-02-19 07:38:14 +09:00

8 lines
236 B
Ruby

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