1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-30 06:28:11 +09:00
mastodon/spec/fabricators/user_fabricator.rb

8 lines
236 B
Ruby
Raw Normal View History

Fabricator(:user) do
account { Fabricate.build(:account, user: nil) }
email { sequence(:email) { |i| "#{i}#{Faker::Internet.email}" } }
2016-10-03 23:38:22 +09:00
password "123456789"
confirmed_at { Time.zone.now }
agreement true
end