mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-27 10:30:15 -05:00
7 lines
266 B
Ruby
7 lines
266 B
Ruby
# frozen_string_literal: true
|
|
|
|
Fabricator(:canonical_email_block) do
|
|
email { |attrs| attrs[:reference_account] ? attrs[:reference_account].user_email : sequence(:email) { |i| "#{i}#{Faker::Internet.email}" } }
|
|
reference_account { Fabricate.build(:account) }
|
|
end
|