spec/logger_spec.rb in ougai-1.4.0 vs spec/logger_spec.rb in ougai-1.4.1

- old
+ new

@@ -611,7 +611,13 @@ logger.warn(log_msg) expect(item).to be_log_message(log_msg, 40) expect(another_item).to be_log_message(log_msg, 40) end end + + it 'close both loogers' do + logger.close + expect(io.closed?).to be_truthy + expect(another_io.closed?).to be_truthy + end end end