Skip to content

Commit

Permalink
No need for a request spec for this
Browse files Browse the repository at this point in the history
  • Loading branch information
hennevogel committed Mar 15, 2022
1 parent f9e22ff commit ee67d74
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 98 deletions.
7 changes: 7 additions & 0 deletions src/api/spec/controllers/source_controller_spec.rb
Expand Up @@ -54,4 +54,11 @@
it { expect(response.status).to eq(302) }
end
end

describe 'POST #package_command_undelete' do
skip('TODO')
# - permissions
# - params[:time] permission
# - maybe refactor to Package.restore?
end
end
1 change: 0 additions & 1 deletion src/api/spec/rails_helper.rb
Expand Up @@ -66,7 +66,6 @@
# helper methods for authentication
require 'support/controllers/controllers_authentication'
require 'support/models/models_authentication'
require 'support/requests/requests_authentification'

# support Delayed Jobs
require 'support/delayed_job'
Expand Down
56 changes: 0 additions & 56 deletions src/api/spec/requests/package_undelete_spec.rb

This file was deleted.

41 changes: 0 additions & 41 deletions src/api/spec/support/requests/requests_authentification.rb

This file was deleted.

0 comments on commit ee67d74

Please sign in to comment.