Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-03-03 02:18:50 +0300
committerRobert Speicher <rspeicher@gmail.com>2017-03-03 04:29:30 +0300
commita0ab45d0c3d9625e8cff994173b6441e9623770f (patch)
tree2f10dda3545b535a085ba7de8ad237bf5c74b997 /db/fixtures/development
parent12592ac7f4ae8ee8d074079b37940d5cbd91eb6a (diff)
Fix the `Gitlab::Seeder` monkey patch to disable mail delivery
Diffstat (limited to 'db/fixtures/development')
-rw-r--r--db/fixtures/development/13_comments.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/fixtures/development/13_comments.rb b/db/fixtures/development/13_comments.rb
index 29b8081055d..bc2d74c8034 100644
--- a/db/fixtures/development/13_comments.rb
+++ b/db/fixtures/development/13_comments.rb
@@ -1,7 +1,7 @@
require './spec/support/sidekiq'
Gitlab::Seeder.quiet do
- Issue.all.each do |issue|
+ Issue.find_each do |issue|
project = issue.project
project.team.users.each do |user|
@@ -16,7 +16,7 @@ Gitlab::Seeder.quiet do
end
end
- MergeRequest.all.each do |mr|
+ MergeRequest.find_each do |mr|
project = mr.project
project.team.users.each do |user|