spec/logger_spec.rb in squib-0.9.0 vs spec/logger_spec.rb in squib-0.10.0
- old
+ new
@@ -3,10 +3,10 @@
describe Squib.logger do
it 'uses the custom format' do
Squib.logger = nil
oldstdout = $stdout
$stdout = StringIO.new
- Squib::logger.warn "Test warn"
+ Squib::logger.warn 'Test warn'
expect($stdout.string).to match /WARN: Test warn/
$stdout = oldstdout
end
-end
\ No newline at end of file
+end