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