Sha256: bb57cf032b3768d0ae86da0133ef77a90e544e148dd0a9149173c25e543bc974

Contents?: true

Size: 358 Bytes

Versions: 9

Compression:

Stored size: 358 Bytes

Contents

require 'spec_helper'

module Wicoris::Postman
  describe Logger do
    let(:logger) { Logger.new }

    describe '#info' do
      it 'only accepts one argument' do
        expect {
          logger.info('hey', :explosion => true)
        }.to raise_error
        #}.to raise_error ArgumentError
      end
    end

    describe '#error' do
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
wicoris-postman-0.13.0 spec/wicoris/postman/logger_spec.rb
wicoris-postman-0.12.2 spec/wicoris/postman/logger_spec.rb
wicoris-postman-0.12.1 spec/wicoris/postman/logger_spec.rb
wicoris-postman-0.12.0 spec/wicoris/postman/logger_spec.rb
wicoris-postman-0.11.3 spec/wicoris/postman/logger_spec.rb
wicoris-postman-0.11.2 spec/wicoris/postman/logger_spec.rb
wicoris-postman-0.11.1 spec/wicoris/postman/logger_spec.rb
wicoris-postman-0.11.0 spec/wicoris/postman/logger_spec.rb
wicoris-postman-0.10.0 spec/wicoris/postman/logger_spec.rb