test/appender/syslog_test.rb in semantic_logger-4.2.1 vs test/appender/syslog_test.rb in semantic_logger-4.2.2
- old
+ new
@@ -43,10 +43,10 @@
SemanticLogger::LEVELS.each do |level|
it "log #{level} information" do
Syslog.stub(:open, nil) do
Syslog.stub(:log, nil) do
syslog_appender = SemanticLogger::Appender::Syslog.new
- syslog_appender.send(level, 'AppenderSyslogTest #{level.to_s} message')
+ syslog_appender.send(level, "AppenderSyslogTest #{level} message")
end
end
end
end