Fix RSpec/DescribedClass
cop (#29472)
This commit is contained in:
parent
c09b8a7164
commit
6262ceeb70
12 changed files with 29 additions and 29 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue