test/appenders/test_console.rb in logging-2.0.0 vs test/appenders/test_console.rb in logging-2.1.0
- old
+ new
@@ -2,9 +2,17 @@
require File.expand_path('../setup', File.dirname(__FILE__))
module TestLogging
module TestAppenders
+ class TestConsole < Test::Unit::TestCase
+ include LoggingTestCase
+
+ def test_initialize
+ assert_raise(RuntimeError) { Logging::Appenders::Console.new("test") }
+ end
+ end
+
class TestStdout < Test::Unit::TestCase
include LoggingTestCase
def test_initialize
Logging::Repository.instance