Fix RSpec/MultipleSubjects cop (#24738)
This commit is contained in:
parent
bdcd8a9e88
commit
cf18cc2891
8 changed files with 11 additions and 25 deletions
|
@ -39,10 +39,10 @@ describe FollowerAccountsController do
|
|||
end
|
||||
|
||||
context 'when format is json' do
|
||||
subject(:response) { get :index, params: { account_username: alice.username, page: page, format: :json } }
|
||||
|
||||
subject(:body) { response.parsed_body }
|
||||
|
||||
let(:response) { get :index, params: { account_username: alice.username, page: page, format: :json } }
|
||||
|
||||
context 'with page' do
|
||||
let(:page) { 1 }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue