Sha256: 9bb8a506506d472530f32b4be59a83a4ad008c153d5faf19afa59f2bbecbd481

Contents?: true

Size: 308 Bytes

Versions: 24

Compression:

Stored size: 308 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 "[DeepTest] my_msg\n", DeepTest.logger.formatter.call(nil, nil, nil, "my_msg")
  end
end

Version data entries

24 entries across 24 versions & 4 rubygems

Version Path
jason-o-matic-deep_test-1.2.2.1 test/deep_test/logger_test.rb
jason-o-matic-deep_test-1.2.2.10 test/deep_test/logger_test.rb
jason-o-matic-deep_test-1.2.2.11 test/deep_test/logger_test.rb
jason-o-matic-deep_test-1.2.2.12 test/deep_test/logger_test.rb
jason-o-matic-deep_test-1.2.2.13 test/deep_test/logger_test.rb
jason-o-matic-deep_test-1.2.2.14 test/deep_test/logger_test.rb
jason-o-matic-deep_test-1.2.2.2 test/deep_test/logger_test.rb
jason-o-matic-deep_test-1.2.2.3 test/deep_test/logger_test.rb
jason-o-matic-deep_test-1.2.2.4 test/deep_test/logger_test.rb
jason-o-matic-deep_test-1.2.2.5 test/deep_test/logger_test.rb
jason-o-matic-deep_test-1.2.2.6 test/deep_test/logger_test.rb
jason-o-matic-deep_test-1.2.2.7 test/deep_test/logger_test.rb
jason-o-matic-deep_test-1.2.2.8 test/deep_test/logger_test.rb
jason-o-matic-deep_test-1.2.2.9 test/deep_test/logger_test.rb
jperkins-deep_test-1.2.2 test/deep_test/logger_test.rb
jason-o-matic-deep_test-1.2.2.15 test/deep_test/logger_test.rb
jstorimer-deep-test-1.4.0 test/deep_test/logger_test.rb
jstorimer-deep-test-1.3.0 test/deep_test/logger_test.rb
jstorimer-deep-test-1.2.0 test/deep_test/logger_test.rb
jstorimer-deep-test-1.1.0 test/deep_test/logger_test.rb