diff options
Diffstat (limited to 'spec/integration/js')
| -rw-r--r-- | spec/integration/js/bower_spec.rb | 2 | ||||
| -rw-r--r-- | spec/integration/js/npm_spec.rb | 2 | ||||
| -rw-r--r-- | spec/integration/js/yarn_spec.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/integration/js/bower_spec.rb b/spec/integration/js/bower_spec.rb index 5a4f72d..cc7cf9d 100644 --- a/spec/integration/js/bower_spec.rb +++ b/spec/integration/js/bower_spec.rb @@ -24,7 +24,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 npm registry" do + context "when scanning a bower project with a dependency from a custom npm registry", environment: 'offline' do subject { runner.scan(env: { 'ADDITIONAL_CA_CERT_BUNDLE' => fixture_file_content('js/custom-npm.crt') }) } before do diff --git a/spec/integration/js/npm_spec.rb b/spec/integration/js/npm_spec.rb index 13cbd15..abc6fc0 100644 --- a/spec/integration/js/npm_spec.rb +++ b/spec/integration/js/npm_spec.rb @@ -465,7 +465,7 @@ RSpec.describe "npm" do end end - context "when scanning a project with dependencies sourced from a custom registry" do + context "when scanning a project with dependencies sourced from a custom registry", environment: 'offline' do subject { runner.scan(env: { 'ADDITIONAL_CA_CERT_BUNDLE' => fixture_file_content('js/custom-npm.crt') }) } before do diff --git a/spec/integration/js/yarn_spec.rb b/spec/integration/js/yarn_spec.rb index a5a9695..bacac47 100644 --- a/spec/integration/js/yarn_spec.rb +++ b/spec/integration/js/yarn_spec.rb @@ -150,7 +150,7 @@ RSpec.describe "yarn" do end end - context "when scanning a project with dependencies sourced from a custom registry" do + context "when scanning a project with dependencies sourced from a custom registry", environment: 'offline' do subject { runner.scan(env: { 'ADDITIONAL_CA_CERT_BUNDLE' => fixture_file_content('js/custom-npm.crt') }) } before do |
