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

This commit is contained in:
Claire committed 2023-07-06 13:45:40 +02:00
1 parent e65e3a6d14
commit f8930a67a0
2 files changed
+6 -1

No files matched your search

@@ -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