discourse/spec/fabricators/screened_email_fabricator.rb

5 lines
139 B
Ruby

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