Sha256: 7e857a417add31cc4e6423641743a83202532639bc82e6feb42e174c3c76c5b9

Contents?: true

Size: 438 Bytes

Versions: 14

Compression:

Stored size: 438 Bytes

Contents

require File.expand_path('spec_helper', File.dirname(__FILE__))

module Ftpd
  describe NullLogger do

    subject {NullLogger.new}

    def self.should_stub(method)
      describe "#{method}" do
        specify do
          subject.should respond_to method
        end
      end
    end

    should_stub :unknown
    should_stub :fatal
    should_stub :error
    should_stub :warn
    should_stub :info
    should_stub :debug

  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ftpd-0.17.0 spec/null_logger_spec.rb
ftpd-0.16.0 spec/null_logger_spec.rb
ftpd-0.15.0 spec/null_logger_spec.rb
ftpd-0.14.0 spec/null_logger_spec.rb
ftpd-0.13.0 spec/null_logger_spec.rb
ftpd-0.12.0 spec/null_logger_spec.rb
ftpd-0.11.0 spec/null_logger_spec.rb
ftpd-0.10.0 spec/null_logger_spec.rb
ftpd-0.9.0 spec/null_logger_spec.rb
ftpd-0.7.1 spec/null_logger_spec.rb
ftpd-0.8.0 spec/null_logger_spec.rb
ftpd-0.7.0 spec/null_logger_spec.rb
ftpd-0.6.0 spec/null_logger_spec.rb
ftpd-0.5.0 spec/null_logger_spec.rb