diff options
| author | mo khan <mo.khan@gmail.com> | 2020-05-19 14:54:14 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-05-19 14:54:14 -0600 |
| commit | 2bdb3f754f61843fc43d9facce83403b38806266 (patch) | |
| tree | 4d99ed54d6ff5395b07be2317c238f5b8fdc1f16 | |
| parent | 69e3a73c81f9dc7c738339d14ed4e7d70579f032 (diff) | |
Test example bower project
| -rw-r--r-- | spec/integration/js/bower_spec.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/integration/js/bower_spec.rb b/spec/integration/js/bower_spec.rb index 25a45cb..16a6fed 100644 --- a/spec/integration/js/bower_spec.rb +++ b/spec/integration/js/bower_spec.rb @@ -44,4 +44,19 @@ RSpec.describe "bower" do specify { expect(subject.licenses_for('js-bower')).to match_array(['ISC']) } specify { expect(subject.licenses_for('lodash')).to match_array(['MIT']) } end + + [ + 'https://gitlab.com/gitlab-org/gitter/gitter-marked.git' + ].each do |git_repo| + context "when scanning #{git_repo}" do + subject { runner.scan } + + before do + runner.clone(git_repo) + end + + specify { expect(subject).to match_schema(version: '2.0') } + specify { expect(subject.dependency_names).not_to be_empty } + end + end end |
