discourse/spec/fabricators/screened_url_fabricator.rb

6 lines
218 B
Ruby
Raw Normal View History

Fabricator(:screened_url) do
url { sequence(:url) { |n| "spammers#{n}.org/buy/stuff" } }
domain { sequence(:domain) { |n| "spammers#{n}.org" } }
action_type ScreenedEmail.actions[:do_nothing]
end