Commit fbdc8921 authored by Ash McKenzie's avatar Ash McKenzie

Merge branch 'refactor-api-group-packge-specs-license' into 'master'

Refactor group package api specs

See merge request gitlab-org/gitlab!38522
parents bcbb31f6 1d9949f4
......@@ -13,7 +13,6 @@ RSpec.describe API::GroupPackages do
let(:url) { "/groups/#{group.id}/packages" }
let(:package_schema) { 'public_api/v4/packages/group_packages' }
context 'without the need for a license' do
context 'with sorting' do
let_it_be(:package1) { create(:npm_package, project: project, version: '3.1.0', name: "@#{project.root_namespace.path}/foo1") }
let_it_be(:package2) { create(:nuget_package, project: project, version: '2.0.4') }
......@@ -143,5 +142,4 @@ RSpec.describe API::GroupPackages do
it_behaves_like 'returning response status', :bad_request
end
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment