test/test_helper.rb in rocketjob-2.0.0.rc3 vs test/test_helper.rb in rocketjob-2.0.0
- old
+ new
@@ -12,9 +12,9 @@
require 'awesome_print'
require 'rocketjob'
MiniTest::Reporters.use! MiniTest::Reporters::SpecReporter.new
-SemanticLogger.add_appender('test.log', &SemanticLogger::Appender::Base.colorized_formatter)
+SemanticLogger.add_appender(file_name: 'test.log', formatter: :color)
SemanticLogger.default_level = :debug
RocketJob::Config.load!('test', 'test/config/mongo.yml')