diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-07-05 02:15:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-05 02:15:24 +0200 |
commit | 0c1b1069c96d3452d43d922a737c522d10e4747b (patch) | |
tree | 16aa167d60f75941232659452352fa07c0dee5b5 /spec | |
parent | 30f5bcf3e749be9651ed39a07b893f70605f8a39 (diff) |
Remove deprecated REST API `GET /api/v1/statuses/:id/card` (#11213)
Diffstat (limited to 'spec')
-rw-r--r-- | spec/controllers/api/v1/statuses_controller_spec.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/controllers/api/v1/statuses_controller_spec.rb b/spec/controllers/api/v1/statuses_controller_spec.rb index 8bc3b0c67..9ff5fcd3b 100644 --- a/spec/controllers/api/v1/statuses_controller_spec.rb +++ b/spec/controllers/api/v1/statuses_controller_spec.rb @@ -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 |