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:
parent
6558c4b63f
commit
ee1f5480c4
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user