summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJean Praloran <jeanpralo@gmail.com>2017-03-17 18:31:05 +1300
committerJean Praloran <jeanpralo@gmail.com>2017-05-30 07:11:28 +1200
commit2822081821f3f1e1e8cf8cfd8228ddb282b2d198 (patch)
tree2f4cc28b61b8383d3fa4e20d05af2c6803e22ed6 /spec
parentd890c6e81b696a5c02fe8138a76a4d113ee8ba93 (diff)
downloadgitlab-ce-2822081821f3f1e1e8cf8cfd8228ddb282b2d198.tar.gz
fix unit testing for admin
Diffstat (limited to 'spec')
-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