1
0
mirror of https://github.com/meineerde/rackstash.git synced 2025-12-19 15:01:12 +00:00

Check that Logger#tag implements the same interface as Buffer#tag

This commit is contained in:
Holger Just 2017-07-21 18:34:50 +02:00
parent 9536b0473b
commit 57f200ab35

View File

@ -203,8 +203,8 @@ describe Rackstash::Logger do
end end
it 'implements the same method signature as the Buffer' do it 'implements the same method signature as the Buffer' do
expect(Rackstash::Buffer.instance_method(:tag).arity) expect(Rackstash::Buffer.instance_method(:tag).parameters)
.to eql logger.method(:tag).arity .to eql logger.method(:tag).parameters
end end
end end