gitlab-org--gitlab-foss/db/fixtures/development/18_abuse_reports.rb
Eric Eastwood 179ae4ab5b Seed abuse reports
```
rake db:seed_fu FILTER=abuse_reports
```

Thanks to @stanhu,
https://gitlab.com/gitlab-org/gitlab-ce/issues/28059#note_23325328
2017-02-15 16:55:07 -06:00

5 lines
114 B
Ruby

require 'factory_girl_rails'
(AbuseReport.default_per_page + 3).times do
FactoryGirl.create(:abuse_report)
end