Autofix Rubocop RSpec/EmptyLineAfterSubject (#23719)
This commit is contained in:
@@ -38,6 +38,7 @@ RSpec.describe ActivityPub::CollectionsController, type: :controller do
|
||||
let(:remote_account) { nil }
|
||||
|
||||
subject(:response) { get :show, params: { id: 'featured', account_username: account.username } }
|
||||
|
||||
subject(:body) { body_as_json }
|
||||
|
||||
it 'returns http success' do
|
||||
|
@@ -35,6 +35,7 @@ RSpec.describe ActivityPub::FollowersSynchronizationsController, type: :controll
|
||||
let(:remote_account) { Fabricate(:account, domain: 'example.com', uri: 'https://example.com/instance') }
|
||||
|
||||
subject(:response) { get :show, params: { account_username: account.username } }
|
||||
|
||||
subject(:body) { body_as_json }
|
||||
|
||||
it 'returns http success' do
|
||||
|
@@ -36,6 +36,7 @@ RSpec.describe ActivityPub::OutboxesController, type: :controller do
|
||||
let(:remote_account) { nil }
|
||||
|
||||
subject(:response) { get :show, params: { account_username: account.username, page: page } }
|
||||
|
||||
subject(:body) { body_as_json }
|
||||
|
||||
context 'with page not requested' do
|
||||
|
@@ -181,6 +181,7 @@ RSpec.describe ActivityPub::RepliesController, type: :controller do
|
||||
|
||||
describe 'GET #index' do
|
||||
subject(:response) { get :index, params: { account_username: status.account.username, status_id: status.id, only_other_accounts: only_other_accounts } }
|
||||
|
||||
let(:only_other_accounts) { nil }
|
||||
|
||||
context 'with no signature' do
|
||||
|
Reference in New Issue
Block a user