0
0
Fork 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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 29 additions and 29 deletions

View file

@ -678,7 +678,7 @@ RSpec.describe Account do
end
describe 'MENTION_RE' do
subject { Account::MENTION_RE }
subject { described_class::MENTION_RE }
it 'matches usernames in the middle of a sentence' do
expect(subject.match('Hello to @alice from me')[1]).to eq 'alice'