summaryrefslogtreecommitdiff
path: root/spec/services/auth
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-05-22 14:14:12 -0500
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-23 00:34:51 +0200
commit646018a40e7d29682f31e774f453a6b3427b4216 (patch)
treefca689ab7bf8336099799556a57ddc4095d54d2c /spec/services/auth
parentb4c47368bfece10150293566b6bf5faeb324d5c4 (diff)
downloadgitlab-ce-646018a40e7d29682f31e774f453a6b3427b4216.tar.gz
Fix the CI login to Container Registry (the gitlab-ci-token user)
Diffstat (limited to 'spec/services/auth')
-rw-r--r--spec/services/auth/container_registry_authentication_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/auth/container_registry_authentication_service_spec.rb b/spec/services/auth/container_registry_authentication_service_spec.rb
index 73b8c3f048f..3f4a1ced2b6 100644
--- a/spec/services/auth/container_registry_authentication_service_spec.rb
+++ b/spec/services/auth/container_registry_authentication_service_spec.rb
@@ -127,12 +127,12 @@ describe Auth::ContainerRegistryAuthenticationService, services: true do
context 'project authorization' do
let(:current_project) { create(:empty_project) }
- context 'disallow to use offline_token' do
+ context 'allow to use offline_token' do
let(:current_params) do
{ offline_token: true }
end
- it_behaves_like 'an unauthorized'
+ it_behaves_like 'an authenticated'
end
context 'allow to pull and push images' do