Sha256: adb557f97b75ff5948fe1ff99b980ecc8920a17cb7aaebe97caedc50c4626c73

Contents?: true

Size: 567 Bytes

Versions: 2

Compression:

Stored size: 567 Bytes

Contents

require File.expand_path("../../test_helper", __FILE__)

class BBQueue::FatalLoggerTest < MiniTest::Test
  def setup
    @logger = BBQueue::FatalLogger.new(BBQueue::NullLogger.new)
  end

  def test_debug
    assert_nothing_raised { @logger.debug "Debug" }
  end

  def test_info
    assert_nothing_raised { @logger.info "Info" }
  end

  def test_warn
    assert_nothing_raised { @logger.warn "Warn" }
  end

  def test_error
    assert_nothing_raised { @logger.error "Error" }
  end

  def test_fatal
    assert_nothing_raised { @logger.fatal "Fatal" }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bbqueue-0.0.2 test/bbqueue/fatal_logger_test.rb
bbqueue-0.0.1 test/bbqueue/fatal_logger_test.rb