Sha256: ee4dea0586583f08122855f3f01c8f1e17ab10535ff984848545eef7fa450844
Contents?: true
Size: 288 Bytes
Versions: 9
Compression:
Stored size: 288 Bytes
Contents
require 'spec_helper' describe Squib.logger do it 'uses the custom format' do Squib.logger = nil oldstdout = $stdout $stdout = StringIO.new Squib::logger.warn "Test warn" expect($stdout.string).to match /WARN: Test warn/ $stdout = oldstdout end end
Version data entries
9 entries across 9 versions & 1 rubygems