Sha256: ae3d931114e9e5213d54e9a12706a2000e9f8858cd252b44b292c4e7c5d2b9b6

Contents?: true

Size: 540 Bytes

Versions: 2

Compression:

Stored size: 540 Bytes

Contents

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

class BBQueue::NullLoggerTest < MiniTest::Test
  def setup
    @logger = 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/null_logger_test.rb
bbqueue-0.0.1 test/bbqueue/null_logger_test.rb