From 8883c54feaf1ca2d5a859ecd634043b36dfb8832 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 24 Nov 2022 09:11:46 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- spec/scripts/trigger-build_spec.rb | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'spec/scripts/trigger-build_spec.rb') diff --git a/spec/scripts/trigger-build_spec.rb b/spec/scripts/trigger-build_spec.rb index ac8e3c7797c..52682387e20 100644 --- a/spec/scripts/trigger-build_spec.rb +++ b/spec/scripts/trigger-build_spec.rb @@ -318,28 +318,6 @@ RSpec.describe Trigger do end end - describe "GITLAB_ASSETS_TAG" do - context 'when CI_COMMIT_TAG is set' do - before do - stub_env('CI_COMMIT_TAG', 'v1.0') - end - - it 'sets GITLAB_ASSETS_TAG to CI_COMMIT_REF_NAME' do - expect(subject.variables['GITLAB_ASSETS_TAG']).to eq(env['CI_COMMIT_REF_NAME']) - end - end - - context 'when CI_COMMIT_TAG is nil' do - before do - stub_env('CI_COMMIT_TAG', nil) - end - - it 'sets GITLAB_ASSETS_TAG to CI_COMMIT_SHA' do - expect(subject.variables['GITLAB_ASSETS_TAG']).to eq(env['CI_COMMIT_SHA']) - end - end - end - describe "CE_PIPELINE" do context 'when Trigger.ee? is true' do before do -- cgit v1.2.1