Seed abuse reports

```
rake db:seed_fu FILTER=abuse_reports
```

Thanks to @stanhu,
https://gitlab.com/gitlab-org/gitlab-ce/issues/28059#note_23325328
This commit is contained in:
Eric Eastwood 2017-02-14 11:11:31 -06:00
parent 1452729304
commit 179ae4ab5b
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,4 @@
---
title: Seed abuse reports for development
merge_request:
author:

View File

@ -0,0 +1,5 @@
require 'factory_girl_rails'
(AbuseReport.default_per_page + 3).times do
FactoryGirl.create(:abuse_report)
end