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

@@ -32,11 +32,11 @@ RSpec.describe ActivityPub::FollowersSynchronizationsController, type: :controll
end
context 'with signature from example.com' do
let(:remote_account) { Fabricate(:account, domain: 'example.com', uri: 'https://example.com/instance') }
subject(:body) { body_as_json }
subject(:response) { get :show, params: { account_username: account.username } }
subject(:body) { body_as_json }
let(:remote_account) { Fabricate(:account, domain: 'example.com', uri: 'https://example.com/instance') }
it 'returns http success' do
expect(response).to have_http_status(200)