test/loggable_test.rb in semantic_logger-3.0.1 vs test/loggable_test.rb in semantic_logger-3.1.0

- old
+ new

@@ -77,10 +77,10 @@ @time = Time.new @io = StringIO.new @appender = SemanticLogger::Appender::File.new(@io) SemanticLogger.default_level = :trace @mock_logger = MockLogger.new - @appender = SemanticLogger.add_appender(@mock_logger) + @appender = SemanticLogger.add_appender(logger: @mock_logger) @hash = {session_id: 'HSSKLEU@JDK767', tracking_number: 12345} @hash_str = @hash.inspect.sub("{", "\\{").sub("}", "\\}") @thread_name = Thread.current.name end