1
0
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:
Holger Just 2017-05-04 21:38:56 +02:00
parent 5f68082810
commit ec30779429
2 changed files with 1 additions and 4 deletions

View File

@ -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

View File

@ -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')