Sha256: 2ad2b410bd0f8264a614beccd723f770c02ffe6d369fd201a2094576f4410d33

Contents?: true

Size: 294 Bytes

Versions: 2

Compression:

Stored size: 294 Bytes

Contents

require File.dirname(__FILE__) + "/test_helper"

unit_tests do
  test "info log level by default" do
    assert_equal Logger::INFO, DeepTest.logger.level
  end
  
  test "formatter uses msg only" do
    assert_equal "my_msg\n", DeepTest.logger.formatter.call(nil, nil, nil, "my_msg")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
deep_test-1.1.3 test/logger_test.rb
deep_test-1.1.4 test/logger_test.rb