diff options
Diffstat (limited to 'test/test_clogger_to_path.rb')
-rw-r--r-- | test/test_clogger_to_path.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_clogger_to_path.rb b/test/test_clogger_to_path.rb index 00767dc..4cc9027 100644 --- a/test/test_clogger_to_path.rb +++ b/test/test_clogger_to_path.rb @@ -120,7 +120,8 @@ class TestCloggerToPath < Test::Unit::TestCase assert_instance_of(Clogger, body) check_body(body) - body.to_path + assert_equal tmp.path, body.to_path + assert_nothing_raised { body.to_io } assert_kind_of IO, tmp.instance_variable_get(:@to_io_called) assert logger.string.empty? assert ! tmp.closed? |