diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-02-14 20:11:31 +0300 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-02-16 01:55:07 +0300 |
commit | 179ae4ab5b5584f62234b7321aa5c7a1d7ae484d (patch) | |
tree | cff023c44d4f81b0849def0a64066d6f83ef3344 /db/fixtures/development | |
parent | 1452729304393978ec93b712130dff6687db01b9 (diff) |
Seed abuse reports
```
rake db:seed_fu FILTER=abuse_reports
```
Thanks to @stanhu,
https://gitlab.com/gitlab-org/gitlab-ce/issues/28059#note_23325328
Diffstat (limited to 'db/fixtures/development')
-rw-r--r-- | db/fixtures/development/18_abuse_reports.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/fixtures/development/18_abuse_reports.rb b/db/fixtures/development/18_abuse_reports.rb new file mode 100644 index 00000000000..8618d10387a --- /dev/null +++ b/db/fixtures/development/18_abuse_reports.rb @@ -0,0 +1,5 @@ +require 'factory_girl_rails' + +(AbuseReport.default_per_page + 3).times do + FactoryGirl.create(:abuse_report) +end |