Sha256: b78f4cbc1802e83cc5e47c62c1e63175a8246555d964581a1e31d24ac177d374

Contents?: true

Size: 592 Bytes

Versions: 11

Compression:

Stored size: 592 Bytes

Contents

require 'spec_helper'

module Blazing

  describe Logger do

    let(:logger) { Logger.new }
    let(:dummy) { class Dummy; include Logger; end }

    context 'defines convenience methods' do
      it 'for debug messages' do
        dummy.respond_to? :debug
      end

      it 'for info messages' do
        dummy.respond_to? :info
      end

      it 'for warn messages' do
        dummy.respond_to? :warn
      end

      it 'for error messages' do
        dummy.respond_to? :error
      end

      it 'for fatal messages' do
        dummy.respond_to? :fatal
      end

    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
blazing-0.4.2 spec/blazing/logger_spec.rb
blazing-0.4.1 spec/blazing/logger_spec.rb
blazing-0.4.0 spec/blazing/logger_spec.rb
blazing-0.4.0.beta3 spec/blazing/logger_spec.rb
blazing-0.4.0.beta2 spec/blazing/logger_spec.rb
blazing-0.4.0.beta1 spec/blazing/logger_spec.rb
blazing-0.3.0 spec/blazing/logger_spec.rb
blazing-0.2.14 spec/blazing/logger_spec.rb
blazing-0.2.13 spec/blazing/logger_spec.rb
blazing-0.2.12 spec/blazing/logger_spec.rb
blazing-0.2.11 spec/blazing/logger_spec.rb