Sha256: 65b5947e062751eda65911bbef09c0c5c28509817c3d855ba98abf0a828f3907
Contents?: true
Size: 327 Bytes
Versions: 50
Compression:
Stored size: 327 Bytes
Contents
require "spec_helper" describe Ethon::Loggable do describe "#logger=" do let(:logger) do Logger.new($stdout).tap do |log| log.level = Logger::INFO end end before do Ethon.logger = logger end it "sets the logger" do expect(Ethon.logger).to eq(logger) end end end
Version data entries
50 entries across 49 versions & 8 rubygems