test/loggable_test.rb in semantic_logger-2.4.1 vs test/loggable_test.rb in semantic_logger-2.5.0

- old
+ new

@@ -23,10 +23,10 @@ @appender = SemanticLogger::Appender::File.new(@io) SemanticLogger.default_level = :trace SemanticLogger.add_appender(@appender) @hash = { :session_id => 'HSSKLEU@JDK767', :tracking_number => 12345 } @hash_str = @hash.inspect.sub("{", "\\{").sub("}", "\\}") - @thread_name = SemanticLogger::Base.thread_name + @thread_name = Thread.current.name end teardown do SemanticLogger.remove_appender(@appender) end \ No newline at end of file