diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-12 06:09:13 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-12 06:09:13 +0300 |
commit | 08c975cb5d563f887d55e2fda91ec7803ae6fc4f (patch) | |
tree | 32119824169928a64f3119a7d1375e7d5286a0fc /spec/serializers/build_artifact_entity_spec.rb | |
parent | 2aa98751c91f4d34feeb8be65d3c35e90f000882 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/serializers/build_artifact_entity_spec.rb')
-rw-r--r-- | spec/serializers/build_artifact_entity_spec.rb | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/spec/serializers/build_artifact_entity_spec.rb b/spec/serializers/build_artifact_entity_spec.rb index 3d4dc3f69c9..8835d4d834e 100644 --- a/spec/serializers/build_artifact_entity_spec.rb +++ b/spec/serializers/build_artifact_entity_spec.rb @@ -27,28 +27,6 @@ RSpec.describe BuildArtifactEntity do expect(subject[:path]).to include "jobs/#{job.id}/artifacts/download?file_type=codequality" end - context 'with remove_duplicate_artifact_exposure_paths enabled' do - before do - stub_feature_flags(remove_duplicate_artifact_exposure_paths: true) - end - - it 'has no keep or browse path' do - expect(subject).not_to include(:keep_path) - expect(subject).not_to include(:browse_path) - end - end - - context 'with remove_duplicate_artifact_exposure_paths disabled' do - before do - stub_feature_flags(remove_duplicate_artifact_exposure_paths: false) - end - - it 'has keep and browse paths' do - expect(subject[:keep_path]).to be_present - expect(subject[:browse_path]).to be_present - end - end - context 'when project is specified in options' do let(:options) { super().merge(project: job.project) } |