Commit a25df59e authored by Robert Speicher's avatar Robert Speicher Committed by Dmitriy Zaporozhets

Don't disable the Rails mailer when seeding the test environment

parent ccdb0e45
...@@ -8,7 +8,8 @@ end ...@@ -8,7 +8,8 @@ end
module Gitlab module Gitlab
class Seeder class Seeder
def self.quiet def self.quiet
mute_mailer mute_mailer unless Rails.env.test?
SeedFu.quiet = true SeedFu.quiet = true
yield yield
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment