mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-26 05:33:43 +01:00
6 lines
266 B
Ruby
6 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
|