Fix RSpec/MultipleSubjects cop (#24738)

This commit is contained in:
Matt Jankowski 2023-05-03 23:48:35 -04:00 committed by GitHub
parent bdcd8a9e88
commit cf18cc2891
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 11 additions and 25 deletions

View file

@ -35,10 +35,9 @@ RSpec.describe ActivityPub::OutboxesController, type: :controller do
describe 'GET #show' do
context 'without signature' do
subject(:body) { body_as_json }
subject(:response) { get :show, params: { account_username: account.username, page: page } }
let(:body) { body_as_json }
let(:remote_account) { nil }
context 'with page not requested' do