summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-05-03 15:07:55 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-03 15:07:55 +0000
commit62098c11d130722cca6d4864b3a5257bc3fa8fa1 (patch)
tree1f2e2a6fe7f059375b98a76fc040ed15f5e8a3c4 /spec
parent5fabe42e23beba3fbe393e566a5a4ebde2062c61 (diff)
downloadgitlab-ce-62098c11d130722cca6d4864b3a5257bc3fa8fa1.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec')
-rw-r--r--spec/requests/api/group_container_repositories_spec.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/spec/requests/api/group_container_repositories_spec.rb b/spec/requests/api/group_container_repositories_spec.rb
index aceea797773..413c37eaed9 100644
--- a/spec/requests/api/group_container_repositories_spec.rb
+++ b/spec/requests/api/group_container_repositories_spec.rb
@@ -37,22 +37,15 @@ RSpec.describe API::GroupContainerRepositories do
let(:url) { "/groups/#{group.id}/registry/repositories" }
let(:snowplow_gitlab_standard_context) { { user: api_user, namespace: group } }
- subject { get api(url, api_user), params: params }
+ subject { get api(url, api_user) }
it_behaves_like 'rejected container repository access', :guest, :forbidden
it_behaves_like 'rejected container repository access', :anonymous, :not_found
- it_behaves_like 'handling network errors with the container registry' do
- let(:params) { { tags: true } }
- end
it_behaves_like 'returns repositories for allowed users', :reporter, 'group' do
let(:object) { group }
end
- it_behaves_like 'returns tags for allowed users', :reporter, 'group' do
- let(:object) { group }
- end
-
it_behaves_like 'a package tracking event', described_class.name, 'list_repositories'
context 'with invalid group id' do