Sha256: ae33ac1799380a3dd626061f78f53f7ff71ce9974b521c66552d073f55b32d9c
Contents?: true
Size: 534 Bytes
Versions: 2
Compression:
Stored size: 534 Bytes
Contents
require 'spec_helper' describe Aptible::CLI do describe described_class::LogFormatter do subject do Logger.new(File.open(File::NULL, 'w')).tap do |l| l.formatter = described_class.new end end it 'formats DEBUG' do subject.debug 'foo' end it 'formats INFO' do subject.info 'foo' end it 'formats WARN' do subject.warn 'foo' end it 'formats ERROR' do subject.error 'foo' end it 'formats FATAL' do subject.fatal 'foo' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aptible-cli-0.15.1 | spec/aptible/cli_spec.rb |
aptible-cli-0.15.0 | spec/aptible/cli_spec.rb |