1
0
mirror of https://github.com/meineerde/rackstash.git synced 2025-10-17 14:01:01 +00:00

Fix Typo in spec description

This commit is contained in:
Holger Just 2017-07-22 00:07:18 +02:00
parent 9656297762
commit 12261ef786

View File

@ -23,7 +23,7 @@ describe Rackstash::Encoders::JSON do
expect(encoder.encode(event)).to eql '{"message":"text\nwith\nnewlines"}'
end
it 'strips the message from all surpunding whitespace' do
it 'strips the message from all surrounding whitespace' do
event = { 'message' => "\n\t \nline1\nline2\n \n\t\n" }
expect(encoder.encode(event)).to eql '{"message":"line1\nline2"}'
end