Autofix Rubocop RSpec/LeadingSubject (#23670)

This commit is contained in:
Nick Schonning authored and GitHub committed 2023-02-20 13:24:14 +09:00
1 parent 4ea1e0fceb
commit 4552685f6b
78 files changed
+256 -338

No files matched your search

@@ -22,10 +22,10 @@ RSpec.describe ActivityPub::InboxesController, type: :controller do
end
context 'for a specific account' do
let(:account) { Fabricate(:account) }
subject(:response) { post :create, params: { account_username: account.username }, body: '{}' }
let(:account) { Fabricate(:account) }
context 'when account is permanently suspended' do
before do
account.suspend!