mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
Remove the deprecated archive endpoint controller rspec test
This commit is contained in:
parent
084cdcdd6b
commit
9ad2490285
1 changed files with 0 additions and 12 deletions
|
@ -90,18 +90,6 @@ describe ProjectsController, type: :controller do
|
|||
end
|
||||
end
|
||||
|
||||
describe '#archive' do
|
||||
context 'in JSON format' do
|
||||
let(:params) { { team: team.id, sort: 'atoz' } }
|
||||
|
||||
it 'returns success response' do
|
||||
get :archive, params: params, format: :json
|
||||
expect(response).to have_http_status(:success)
|
||||
expect(response.content_type).to eq 'application/json'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
describe 'POST create' do
|
||||
context 'in JSON format' do
|
||||
let(:params) do
|
||||
|
|
Loading…
Reference in a new issue