2023-02-22 00:55:31 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2021-04-17 01:14:25 +00:00
|
|
|
Fabricator(:canonical_email_block) do
|
2024-03-20 14:38:00 +00:00
|
|
|
email { |attrs| attrs[:reference_account] ? attrs[:reference_account].user_email : sequence(:email) { |i| "#{i}#{Faker::Internet.email}" } }
|
2023-06-10 16:29:01 +00:00
|
|
|
reference_account { Fabricate.build(:account) }
|
2021-04-17 01:14:25 +00:00
|
|
|
end
|