Sha256: 56d6fd4bcfe4e3643bc5570770f04066fad8dccbd39760ed41e72d2aa0c60277
Contents?: true
Size: 473 Bytes
Versions: 2
Compression:
Stored size: 473 Bytes
Contents
# frozen_string_literal: true 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 expect(subject).to 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ftpd-2.0.1 | spec/null_logger_spec.rb |
ftpd-2.0.0 | spec/null_logger_spec.rb |