Use the updated Logger class in spec

This commit is contained in:
Alex Ling 2020-04-07 13:26:09 +00:00
parent 2c31f594a4
commit 3866c81588

View File

@ -37,7 +37,7 @@ end
def with_default_config
temp_config = get_tempfile "mango-test-config"
config = Config.load temp_config.path
logger = MLogger.new config
logger = Logger.new config.log_level
yield config, logger, temp_config.path
temp_config.delete
end