Fix specs to prefer #is_a? over #kind_of?
This commit is contained in:
parent
26e57813b1
commit
f925cf68a8
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ RSpec.describe Mutant::WarningFilter do
|
|||
it 'executes block with warning filter enabled' do
|
||||
found = false
|
||||
object.use do
|
||||
found = $stderr.kind_of?(described_class)
|
||||
found = $stderr.is_a?(described_class)
|
||||
end
|
||||
expect(found).to be(true)
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue