diff options
Diffstat (limited to 'spec/integration')
| -rw-r--r-- | spec/integration/java/maven_spec.rb | 8 | ||||
| -rw-r--r-- | spec/integration/js/bower_spec.rb | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/spec/integration/java/maven_spec.rb b/spec/integration/java/maven_spec.rb index f14e566..d45c99d 100644 --- a/spec/integration/java/maven_spec.rb +++ b/spec/integration/java/maven_spec.rb @@ -9,12 +9,12 @@ RSpec.describe "maven" do runner.add_file('pom.xml', fixture_file_content('java/pom-public-gitlab-repository.xml')) report = runner.scan(env: { - 'CI_PROJECT_ID' => '17523603' + 'CI_PROJECT_ID' => '6130122' }) expect(report).to match_schema(version: '2.0') - expect(report.dependency_names).to match_array(['mvn-spike']) - expect(report.licenses_for('mvn-spike')).to match_array(['MIT']) + expect(report.dependency_names).to match_array(['example']) + expect(report.licenses_for('example')).to match_array(['MIT']) end it 'downloads packages from by using a custom `settings.xml`' do @@ -27,7 +27,7 @@ RSpec.describe "maven" do }) expect(report).to match_schema(version: '2.0') - expect(report[:dependencies]).to match_array([{ name: 'mvn-spike', url: '', description: '', paths: ['.'], licenses: ['MIT'] }]) + expect(report[:dependencies]).to match_array([{ name: 'example', url: '', description: '', paths: ['.'], licenses: ['MIT'] }]) end end diff --git a/spec/integration/js/bower_spec.rb b/spec/integration/js/bower_spec.rb index 2127c2e..2fe2883 100644 --- a/spec/integration/js/bower_spec.rb +++ b/spec/integration/js/bower_spec.rb @@ -22,7 +22,7 @@ RSpec.describe "bower" do specify { expect(subject.licenses_for('stimulus.umd')).to match_array(['unknown']) } end - context "when scanning a bower project with a dependency from a custom registry" do + context "when scanning a bower project with a dependency from a custom npm registry" do subject { runner.scan(env: { 'ADDITIONAL_CA_CERT_BUNDLE' => fixture_file_content('js/custom-npm.crt') }) } before do |
