Sha256: 28b5ec3fe89a7a47b7299f921129dab0e012d6876b3215ead6a239a48c0bb9d2

Contents?: true

Size: 295 Bytes

Versions: 16

Compression:

Stored size: 295 Bytes

Contents

require 'spec_helper'

describe BigBrother::Logger do
  describe 'level' do
    it "does not log debug at info level" do
      logger = BigBrother::Logger.new
      logger.level = BigBrother::Logger::Level::INFO

      EM.should_receive(:debug).never

      logger.debug('hi')
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
big_brother-0.8.8.1 spec/big_brother/logger_spec.rb
big_brother-0.8.8 spec/big_brother/logger_spec.rb
big_brother-0.8.7 spec/big_brother/logger_spec.rb
big_brother-0.6.8 spec/big_brother/logger_spec.rb
big_brother-0.6.7 spec/big_brother/logger_spec.rb
big_brother-0.6.6 spec/big_brother/logger_spec.rb
big_brother-0.6.5 spec/big_brother/logger_spec.rb
big_brother-0.6.4 spec/big_brother/logger_spec.rb
big_brother-0.6.3 spec/big_brother/logger_spec.rb
big_brother-0.6.2 spec/big_brother/logger_spec.rb
big_brother-0.6.1 spec/big_brother/logger_spec.rb
big_brother-0.6.0 spec/big_brother/logger_spec.rb
big_brother-0.5.0 spec/big_brother/logger_spec.rb
big_brother-0.4.1 spec/big_brother/logger_spec.rb
big_brother-0.4.0 spec/big_brother/logger_spec.rb
big_brother-0.3.1 spec/big_brother/logger_spec.rb