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