mirror of
https://github.com/meineerde/rackstash.git
synced 2026-02-01 01:37:12 +00:00
Remove unused variable in specs
This commit is contained in:
parent
5f68082810
commit
ec30779429
@ -69,7 +69,7 @@ describe Rackstash::BufferStack do
|
||||
end
|
||||
|
||||
it 'always returns nil' do
|
||||
new_buffer = stack.push
|
||||
stack.push
|
||||
expect(stack.flush_and_pop).to be nil
|
||||
expect(stack.flush_and_pop).to be nil
|
||||
end
|
||||
|
||||
@ -202,11 +202,8 @@ describe Rackstash::Logger do
|
||||
end
|
||||
|
||||
it 'formats the message' do
|
||||
time = Time.now
|
||||
formatter = double('formatter')
|
||||
|
||||
logger.formatter = formatter
|
||||
|
||||
expect(formatter).to receive(:call)
|
||||
.with('DEBUG', instance_of(Time), Rackstash::PROGNAME, 'Hello World')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user