Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Praloran <jeanpralo@gmail.com>2017-03-17 06:40:57 +0300
committerJean Praloran <jeanpralo@gmail.com>2017-05-29 22:11:28 +0300
commitd890c6e81b696a5c02fe8138a76a4d113ee8ba93 (patch)
treea358383852900f6fc0b04abdaec66ae1fec5d15a /spec/services/auth
parent6c9da292418c606aefe34aab40923d5730ae9aa5 (diff)
fix typo and check
Diffstat (limited to 'spec/services/auth')
-rw-r--r--spec/services/auth/container_registry_authentication_service_spec.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/spec/services/auth/container_registry_authentication_service_spec.rb b/spec/services/auth/container_registry_authentication_service_spec.rb
index e8d222a2a7f..e617f1b0c04 100644
--- a/spec/services/auth/container_registry_authentication_service_spec.rb
+++ b/spec/services/auth/container_registry_authentication_service_spec.rb
@@ -278,7 +278,6 @@ describe Auth::ContainerRegistryAuthenticationService, services: true do
it_behaves_like 'an inaccessible'
it_behaves_like 'not a container repository factory'
end
-
end
end
@@ -287,15 +286,10 @@ describe Auth::ContainerRegistryAuthenticationService, services: true do
let(:current_user) { create(:user) }
let(:authentication_abilities) do
[
- :build_read_container_image,
- :build_create_container_image
+ :admin_container_image
]
end
- before do
- current_project.team << [current_project, :admin]
- end
-
it_behaves_like 'a valid token'
context 'allow to delete images' do