Sha256: 0758530d291e3763d714b780d369060eff56d23961579e1c737b7c0663c16357

Contents?: true

Size: 397 Bytes

Versions: 1

Compression:

Stored size: 397 Bytes

Contents

$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'

require 'minitest/autorun'
require 'parallel_minion'
require 'semantic_logger'

SemanticLogger.default_level = :trace
SemanticLogger.add_appender(file_name: 'test.log', formatter: :color)

# Setup global callback for metric so that it can be tested below
SemanticLogger.on_metric do |log_struct|
  ($log_structs ||= []) << log_struct.dup
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
parallel_minion-1.2.0 test/test_helper.rb