debian-mirror-gitlab/spec/factories/abuse_reports.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
206 B
Ruby
Raw Normal View History

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' }
2015-09-11 14:41:01 +05:30
end
end