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