diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-01 15:09:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-01 15:09:36 +0300 |
commit | 8c438dd7a6063d7f59bce4d79cc7ca49a31a8346 (patch) | |
tree | efaec0e049aca9d0b85d4ca638fb3e031d7b4904 /spec/finders | |
parent | 8ef03669283030d0502a871113f8db013e6ac46c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/finders')
-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 |