1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-27 22:38:27 +09:00
mastodon/spec/fabricators/canonical_email_block_fabricator.rb

7 lines
191 B
Ruby

# frozen_string_literal: true
Fabricator(:canonical_email_block) do
email { sequence(:email) { |i| "#{i}#{Faker::Internet.email}" } }
reference_account { Fabricate.build(:account) }
end