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

Remove useless assignments in message_spec

This commit is contained in:
Holger Just 2017-08-15 23:45:54 +02:00
parent 6558c4b63f
commit ee1f5480c4

View File

@ -127,7 +127,6 @@ describe Rackstash::Message do
end
it 'strips leading whitespace from the message' do
msg = "\t \r\t\nmy \tmessage\r\n \t"
expect(message.lstrip.to_s).to eql "my \tmessage\r\n \t"
end
end
@ -154,7 +153,6 @@ describe Rackstash::Message do
end
it 'strips the message' do
msg = "\t \r\t\nmy \tmessage\r\n \t"
expect(message.strip.to_s).to eql "my \tmessage"
end
end