summaryrefslogtreecommitdiff
path: root/spec/models/group_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-10-12 15:35:06 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-10-12 15:35:06 +0000
commit012cbda407a30ab14e57ece581d720b22b47fe5a (patch)
tree62a559d2a0843d2d9700af1bb01a15cbfcee2190 /spec/models/group_spec.rb
parent92acfb1b8a9019b3fa3c817d251b2624d55da26d (diff)
downloadgitlab-ce-012cbda407a30ab14e57ece581d720b22b47fe5a.tar.gz
Add latest changes from gitlab-org/gitlab@14-3-stable-ee
Diffstat (limited to 'spec/models/group_spec.rb')
-rw-r--r--spec/models/group_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/models/group_spec.rb b/spec/models/group_spec.rb
index d536a0783bc..e8aebe35302 100644
--- a/spec/models/group_spec.rb
+++ b/spec/models/group_spec.rb
@@ -2743,6 +2743,10 @@ RSpec.describe Group do
it 'removes the protocol' do
expect(group.dependency_proxy_image_prefix).not_to include('http')
end
+
+ it 'does not include /groups' do
+ expect(group.dependency_proxy_image_prefix).not_to include('/groups')
+ end
end
describe '#dependency_proxy_image_ttl_policy' do