diff options
Diffstat (limited to 'spec/finders/security/license_compliance_jobs_finder_spec.rb')
-rw-r--r-- | spec/finders/security/license_compliance_jobs_finder_spec.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/finders/security/license_compliance_jobs_finder_spec.rb b/spec/finders/security/license_compliance_jobs_finder_spec.rb index 3066912df12..de4a7eb2c12 100644 --- a/spec/finders/security/license_compliance_jobs_finder_spec.rb +++ b/spec/finders/security/license_compliance_jobs_finder_spec.rb @@ -15,10 +15,9 @@ RSpec.describe Security::LicenseComplianceJobsFinder do let!(:container_scanning_build) { create(:ci_build, :container_scanning, pipeline: pipeline) } let!(:dast_build) { create(:ci_build, :dast, pipeline: pipeline) } let!(:license_scanning_build) { create(:ci_build, :license_scanning, pipeline: pipeline) } - let!(:license_management_build) { create(:ci_build, :license_management, pipeline: pipeline) } - it 'returns only the license_scanning jobs' do - is_expected.to contain_exactly(license_scanning_build, license_management_build) + it 'returns only the license_scanning job' do + is_expected.to contain_exactly(license_scanning_build) end end end |