Sha256: 8a5488d2d8fcce5f23b4ca4b90e2671146a32172e42e9f4dfd160a48d9be9af5
Contents?: true
Size: 478 Bytes
Versions: 6
Compression:
Stored size: 478 Bytes
Contents
require 'spec_helper' describe "Logger" do context "with connection that has logger" do before do @output = StringIO.new @logger = Logger.new(@output) MarkLogic.logger = @logger end it "should be able to get access to that logger" do MarkMapper.logger.should == @logger end it "should be able to log messages" do MarkMapper.logger.debug 'testing' @output.string.include?('testing').should be_truthy end end end
Version data entries
6 entries across 6 versions & 1 rubygems