0
0
Fork 0

Change /api/v1/statuses/:id/history to always return at least one item (#25510)

This commit is contained in:
Claire 2023-06-22 14:56:14 +02:00 committed by GitHub
parent 05f9e39b32
commit a5b6f6da80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -23,6 +23,7 @@ describe Api::V1::Statuses::HistoriesController do
it 'returns http success' do
expect(response).to have_http_status(200)
expect(body_as_json.size).to_not be 0
end
end
end