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

Version Path
roqua-support-0.1.34 spec/roqua/support_spec.rb
roqua-support-0.1.33 spec/roqua/support_spec.rb
roqua-support-0.1.32 spec/roqua/support_spec.rb
roqua-support-0.1.31 spec/roqua/support_spec.rb
roqua-support-0.1.30 spec/roqua/support_spec.rb
roqua-support-0.1.29 spec/roqua/support_spec.rb
roqua-support-0.1.28 spec/roqua/support_spec.rb
roqua-support-0.1.27 spec/roqua/support_spec.rb
roqua-support-0.1.26 spec/roqua/support_spec.rb
roqua-support-0.1.25 spec/roqua/support_spec.rb
roqua-support-0.1.24 spec/roqua/support_spec.rb
roqua-support-0.1.23 spec/roqua/support_spec.rb
roqua-support-0.1.22 spec/roqua/support_spec.rb
roqua-support-0.1.21 spec/roqua/support_spec.rb
roqua-support-0.1.20 spec/roqua/support_spec.rb
roqua-support-0.1.19 spec/roqua/support_spec.rb
roqua-support-0.1.18 spec/roqua/support_spec.rb
roqua-support-0.1.17 spec/roqua/support_spec.rb
roqua-support-0.1.16 spec/roqua/support_spec.rb
roqua-support-0.1.15 spec/roqua/support_spec.rb