1
0
mirror of https://github.com/meineerde/rackstash.git synced 2025-10-17 14:01:01 +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
it 'implements the same method signature as the Buffer' do
expect(Rackstash::Buffer.instance_method(:tag).arity)
.to eql logger.method(:tag).arity
expect(Rackstash::Buffer.instance_method(:tag).parameters)
.to eql logger.method(:tag).parameters
end
end