2
0

Fix RSpec/DescribedClass cop (#29472)

This commit is contained in:
Matt Jankowski
2024-03-13 11:42:39 -04:00
committed by GitHub
parent c09b8a7164
commit 6262ceeb70
12 changed files with 29 additions and 29 deletions

View File

@@ -27,7 +27,7 @@ RSpec.describe SignatureParser do
let(:header) { 'hello this is malformed!' }
it 'raises an error' do
expect { subject }.to raise_error(SignatureParser::ParsingError)
expect { subject }.to raise_error(described_class::ParsingError)
end
end
end