Remove deprecated REST API GET /api/v1/statuses/:id/card
(#11213)
This commit is contained in:
parent
30f5bcf3e7
commit
0c1b1069c9
3 changed files with 2 additions and 27 deletions
|
@ -91,13 +91,6 @@ RSpec.describe Api::V1::StatusesController, type: :controller do
|
|||
expect(response).to have_http_status(404)
|
||||
end
|
||||
end
|
||||
|
||||
describe 'GET #card' do
|
||||
it 'returns http unautharized' do
|
||||
get :card, params: { id: status.id }
|
||||
expect(response).to have_http_status(404)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
context 'with a public status' do
|
||||
|
@ -120,13 +113,6 @@ RSpec.describe Api::V1::StatusesController, type: :controller do
|
|||
expect(response).to have_http_status(200)
|
||||
end
|
||||
end
|
||||
|
||||
describe 'GET #card' do
|
||||
it 'returns http success' do
|
||||
get :card, params: { id: status.id }
|
||||
expect(response).to have_http_status(200)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue