discourse/spec/fabricators/screened_email_fabricator.rb

7 lines
170 B
Ruby

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