spec/loggability/formatter_spec.rb in loggability-0.2.3 vs spec/loggability/formatter_spec.rb in loggability-0.3.0
- old
+ new
@@ -22,10 +22,10 @@
it "formats messages with the pattern it's constructed with" do
formatter = Loggability::Formatter.new( '[%5$s] %7$s' )
formatter.call( 'INFO', Time.at(1336286481), nil, 'Foom.' ).should =~
- /\[INFO\] Foom./
+ /\[INFO\] Foom./i
end
it "formats exceptions into useful messages" do
formatter = Loggability::Formatter.new( '[%5$s] %7$s' )
msg = nil