test/test_logger.rb in god-0.5.0 vs test/test_logger.rb in god-0.6.0

- old
+ new

@@ -17,9 +17,17 @@ assert_equal 1, @log.logs.size assert_instance_of Time, @log.logs['foo'][0][0] assert_match(/qux/, @log.logs['foo'][0][1]) end + def test_log_should_send_to_syslog + Syslog.expects(:crit).with('foo') + + no_stdout do + @log.log(stub(:name => 'foo'), :fatal, "foo") + end + end + # watch_log_since def test_watch_log_since t1 = Time.now \ No newline at end of file