1
0
mirror of https://github.com/discourse/discourse.git synced 2025-03-06 11:19:51 +00:00
discourse/spec/fabricators/screened_url_fabricator.rb
2023-01-09 11:49:28 +00:00

8 lines
233 B
Ruby

# frozen_string_literal: true
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