Autofix Rubocop RSpec/LeadingSubject (#23670)

This commit is contained in:
Nick Schonning
2023-02-19 23:24:14 -05:00
committed by GitHub
parent 4ea1e0fceb
commit 4552685f6b
78 changed files with 256 additions and 338 deletions

View File

@ -1,10 +1,10 @@
require 'rails_helper'
RSpec.describe ProcessMentionsService, type: :service do
let(:account) { Fabricate(:account, username: 'alice') }
subject { ProcessMentionsService.new }
let(:account) { Fabricate(:account, username: 'alice') }
context 'when mentions contain blocked accounts' do
let(:non_blocked_account) { Fabricate(:account) }
let(:individually_blocked_account) { Fabricate(:account) }