diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-16 18:25:58 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-16 18:25:58 +0000 |
commit | a5f4bba440d7f9ea47046a0a561d49adf0a1e6d4 (patch) | |
tree | fb69158581673816a8cd895f9d352dcb3c678b1e /spec/finders/security | |
parent | d16b2e8639e99961de6ddc93909f3bb5c1445ba1 (diff) | |
download | gitlab-ce-a5f4bba440d7f9ea47046a0a561d49adf0a1e6d4.tar.gz |
Add latest changes from gitlab-org/gitlab@14-0-stable-eev14.0.0-rc42
Diffstat (limited to 'spec/finders/security')
-rw-r--r-- | spec/finders/security/security_jobs_finder_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/finders/security/security_jobs_finder_spec.rb b/spec/finders/security/security_jobs_finder_spec.rb index fa8253b96b5..3023c42341b 100644 --- a/spec/finders/security/security_jobs_finder_spec.rb +++ b/spec/finders/security/security_jobs_finder_spec.rb @@ -28,19 +28,19 @@ RSpec.describe Security::SecurityJobsFinder do end end - context 'with combination of security jobs and license management jobs' do + context 'with combination of security jobs and license scanning jobs' do let!(:sast_build) { create(:ci_build, :sast, pipeline: pipeline) } let!(:container_scanning_build) { create(:ci_build, :container_scanning, pipeline: pipeline) } let!(:dast_build) { create(:ci_build, :dast, pipeline: pipeline) } let!(:secret_detection_build) { create(:ci_build, :secret_detection, pipeline: pipeline) } - let!(:license_management_build) { create(:ci_build, :license_management, pipeline: pipeline) } + let!(:license_scanning_build) { create(:ci_build, :license_scanning, pipeline: pipeline) } it 'returns only the security jobs' do is_expected.to include(sast_build) is_expected.to include(container_scanning_build) is_expected.to include(dast_build) is_expected.to include(secret_detection_build) - is_expected.not_to include(license_management_build) + is_expected.not_to include(license_scanning_build) end end end |