fix: Update pagination logic in the help center (#5693)

This commit is contained in:
Pranav Raj S
2022-10-20 20:05:17 -07:00
committed by GitHub
parent a274a1702a
commit 95cc55d043
7 changed files with 45 additions and 52 deletions

View File

@@ -195,7 +195,6 @@ RSpec.describe 'Api::V1::Accounts::Articles', type: :request do
json_response = JSON.parse(response.body)
expect(json_response['payload'].count).to be 1
expect(json_response['meta']['articles_count']).to be 2
expect(json_response['meta']['all_articles_count']).to be 2
expect(json_response['meta']['mine_articles_count']).to be 1
end
end