2019-10-12 21:52:04 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
FactoryBot.define do
|
2015-09-11 14:41:01 +05:30
|
|
|
factory :abuse_report do
|
|
|
|
reporter factory: :user
|
|
|
|
user
|
2019-12-21 20:55:43 +05:30
|
|
|
message { 'User sends spam' }
|
2023-03-17 16:20:25 +05:30
|
|
|
reported_from_url { 'http://gitlab.com' }
|
2023-04-23 21:23:45 +05:30
|
|
|
links_to_spam { ['https://gitlab.com/issue1', 'https://gitlab.com/issue2'] }
|
2015-09-11 14:41:01 +05:30
|
|
|
end
|
|
|
|
end
|