diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2014-11-07 15:26:48 +0100 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2014-11-07 15:26:48 +0100 |
commit | 1d337defec2f180744ec9a3e03bd3786b184b113 (patch) | |
tree | 76fceb36405431fee1e0bcf3cda2ed3487003b48 /lib | |
parent | 2bb8e93d80de6b09caa6a1d9305acc468f0e3d4b (diff) | |
parent | a9fadce361163e97eb1de0ec62e4235ff0fa3daa (diff) | |
download | gitlab-ce-1d337defec2f180744ec9a3e03bd3786b184b113.tar.gz |
Merge pull request #8168 from cirosantilli/dev-fixtures-visibility
Create dev fixture projects with fixed visibility
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/seeder.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/gitlab/seeder.rb b/lib/gitlab/seeder.rb index 31aa3528c4c..e816eedab9e 100644 --- a/lib/gitlab/seeder.rb +++ b/lib/gitlab/seeder.rb @@ -1,9 +1,13 @@ +require 'sidekiq/testing' + module Gitlab class Seeder def self.quiet mute_mailer SeedFu.quiet = true - yield + Sidekiq::Testing.inline! do + yield + end SeedFu.quiet = false puts "\nOK".green end |