This commit is contained in:
Colin Surprenant 2015-11-25 09:57:25 -05:00
parent 29ea7f495b
commit 372e1d73ff

View file

@ -173,7 +173,7 @@ describe LogStash::Event do
end
it "should warn on parsing errort" do
it "should warn on parsing error" do
LogStash::Event.logger = logger
expect(logger).to receive(:warn).once.with(/^Error parsing/)
LogStash::Event.new(TIMESTAMP => "invalid timestamp")