Welcome to mirror list, hosted at ThFree Co, Russian Federation.

event.rb « abuse « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4bd1b97410e4f2a4a2ad8403cc878986c732092b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

FactoryBot.define do
  factory :abuse_event, class: 'Abuse::Event' do
    user
    category { :spam }
    source { :spamcheck }

    trait(:with_abuse_report) do
      abuse_report
    end
  end
end