Fix RSpec/InferredSpecType cop (#24736)
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe AccountDomainBlock, type: :model do
|
||||
RSpec.describe AccountDomainBlock do
|
||||
it 'removes blocking cache after creation' do
|
||||
account = Fabricate(:account)
|
||||
Rails.cache.write("exclude_domains_for:#{account.id}", 'a.domain.already.blocked')
|
||||
|
Reference in New Issue
Block a user