Fix RSpec/DescribedClass
cop (#25104)
This commit is contained in:
parent
1e243e2df7
commit
c42591356d
66 changed files with 347 additions and 414 deletions
|
@ -7,7 +7,7 @@ RSpec.describe EntityCache do
|
|||
let(:remote_account) { Fabricate(:account, domain: 'remote.test', username: 'bob', url: 'https://remote.test/') }
|
||||
|
||||
describe '#emoji' do
|
||||
subject { EntityCache.instance.emoji(shortcodes, domain) }
|
||||
subject { described_class.instance.emoji(shortcodes, domain) }
|
||||
|
||||
context 'when called with an empty list of shortcodes' do
|
||||
let(:shortcodes) { [] }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue