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 08:31:05 +0300
committerJean Praloran <jeanpralo@gmail.com>2017-05-29 22:11:28 +0300
commit2822081821f3f1e1e8cf8cfd8228ddb282b2d198 (patch)
tree2f4cc28b61b8383d3fa4e20d05af2c6803e22ed6 /spec/services/auth
parentd890c6e81b696a5c02fe8138a76a4d113ee8ba93 (diff)
fix unit testing for admin
Diffstat (limited to 'spec/services/auth')
-rw-r--r--spec/services/auth/container_registry_authentication_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/auth/container_registry_authentication_service_spec.rb b/spec/services/auth/container_registry_authentication_service_spec.rb
index e617f1b0c04..0609790893d 100644
--- a/spec/services/auth/container_registry_authentication_service_spec.rb
+++ b/spec/services/auth/container_registry_authentication_service_spec.rb
@@ -283,7 +283,7 @@ describe Auth::ContainerRegistryAuthenticationService, services: true do
context 'delete authorized as admin' do
let(:current_project) { create(:empty_project) }
- let(:current_user) { create(:user) }
+ let(:current_user) { create(:admin) }
let(:authentication_abilities) do
[
:admin_container_image