mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 19:05:32 -04:00
Use the updated Logger class in spec
This commit is contained in:
parent
2c31f594a4
commit
3866c81588
@ -37,7 +37,7 @@ end
|
|||||||
def with_default_config
|
def with_default_config
|
||||||
temp_config = get_tempfile "mango-test-config"
|
temp_config = get_tempfile "mango-test-config"
|
||||||
config = Config.load temp_config.path
|
config = Config.load temp_config.path
|
||||||
logger = MLogger.new config
|
logger = Logger.new config.log_level
|
||||||
yield config, logger, temp_config.path
|
yield config, logger, temp_config.path
|
||||||
temp_config.delete
|
temp_config.delete
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user