discourse/spec/fabricators/screened_email_fabricator.rb

5 lines
139 B
Ruby
Raw Permalink Normal View History

Fabricator(:screened_email) do
email { sequence(:email) { |n| "bad#{n}@spammers.org" } }
action_type ScreenedEmail.actions[:block]
end