require_relative "../../../test_helper.rb" require Rubysermon::LIB_PATH + "/rubysermon/output_drivers/dummy" class Dummy_test < MiniTest::Unit::TestCase def setup @logger = Rubysermon::Dummy.new end def test_log assert_output("Time: 2012-12-17 03:29:34; Mod: mod; Value: 13.37\n") do @logger.log("mod", {time: "2012-12-17 03:29:34", value: 13.37}) end end end