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:
parent
1452729304
commit
179ae4ab5b
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
title: Seed abuse reports for development
|
||||||
|
merge_request:
|
||||||
|
author:
|
|
@ -0,0 +1,5 @@
|
||||||
|
require 'factory_girl_rails'
|
||||||
|
|
||||||
|
(AbuseReport.default_per_page + 3).times do
|
||||||
|
FactoryGirl.create(:abuse_report)
|
||||||
|
end
|
Loading…
Reference in New Issue