diff options
author | Job van der Voort <jobvandervoort@gmail.com> | 2015-04-21 17:21:51 +0300 |
---|---|---|
committer | Job van der Voort <jobvandervoort@gmail.com> | 2015-04-21 17:21:51 +0300 |
commit | a8e93b7f51d968c1380ed210499869b62b07fd15 (patch) | |
tree | c864e80dfd9cf4f83fcede678acc986e3a125bf5 /db/fixtures/development/13_comments.rb | |
parent | 0625b15a481b3a3edd88110b3c18031ad9068d2f (diff) |
Version 7.10.0.rc5v7.10.0.rc5
Diffstat (limited to 'db/fixtures/development/13_comments.rb')
-rw-r--r-- | db/fixtures/development/13_comments.rb | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/db/fixtures/development/13_comments.rb b/db/fixtures/development/13_comments.rb deleted file mode 100644 index d37be53c7b9..00000000000 --- a/db/fixtures/development/13_comments.rb +++ /dev/null @@ -1,31 +0,0 @@ -Gitlab::Seeder.quiet do - Issue.all.each do |issue| - project = issue.project - - project.team.users.each do |user| - note_params = { - noteable_type: 'Issue', - noteable_id: issue.id, - note: Faker::Lorem.sentence, - } - - Notes::CreateService.new(project, user, note_params).execute - print '.' - end - end - - MergeRequest.all.each do |mr| - project = mr.project - - project.team.users.each do |user| - note_params = { - noteable_type: 'MergeRequest', - noteable_id: mr.id, - note: Faker::Lorem.sentence, - } - - Notes::CreateService.new(project, user, note_params).execute - print '.' - end - end -end |