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:
parent
9536b0473b
commit
57f200ab35
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user