diff options
Diffstat (limited to 'spec/factories/abuse_reports.rb')
-rw-r--r-- | spec/factories/abuse_reports.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/abuse_reports.rb b/spec/factories/abuse_reports.rb index 355fb142994..9f05d183ba4 100644 --- a/spec/factories/abuse_reports.rb +++ b/spec/factories/abuse_reports.rb @@ -7,5 +7,9 @@ FactoryBot.define do message { 'User sends spam' } reported_from_url { 'http://gitlab.com' } links_to_spam { ['https://gitlab.com/issue1', 'https://gitlab.com/issue2'] } + + trait :closed do + status { 'closed' } + end end end |