Sha256: afe940f55f2a7ba1f0d605224fb464f548395825b34f99c029e9179a1458106a
Contents?: true
Size: 422 Bytes
Versions: 11
Compression:
Stored size: 422 Bytes
Contents
require 'roqua/support' describe Roqua do describe '#logger' do it 'has a default' do expect(Roqua.logger).to be_an_instance_of(Roqua::LogWrapper) end end describe '#logger=' do let(:logger) { double } it 'wraps a given logger' do Roqua.logger = logger expect(Roqua.logger).to be_an_instance_of(Roqua::LogWrapper) expect(Roqua.logger.logger).to eq logger end end end
Version data entries
11 entries across 11 versions & 1 rubygems