Sha256: 773dcb5f19b9ff158d23d8c759e333d522402be398515e77c1517c8221ffbfed
Contents?: true
Size: 473 Bytes
Versions: 1
Compression:
Stored size: 473 Bytes
Contents
# To change this template, choose Tools | Templates # and open the template in the editor. require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe Logger do it "Should create default error log" do AMEE::Logger::log.should be_a Log4r::Logger AMEE::Logger::log.debug("Test log message") end it "Can log to a different logger" do AMEE::Logger.to Log4r::Logger.new('Mylogger') AMEE::Logger::log.debug("Test log message 2") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
amee-2.7.0 | spec/logger_spec.rb |