diff options
| author | mo khan <mo.khan@gmail.com> | 2020-03-30 23:05:42 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-04-02 00:08:43 -0600 |
| commit | bfd7459419921ff37ee500f0698862eea6788675 (patch) | |
| tree | 9749333a7c8878b833b4642afe3071cf1c14012c /spec/integration/ruby | |
| parent | 43bcbbd04342faa497725c5b0be3c6d944d850da (diff) | |
Reproduce failure with go modules scanning
* Install sudo for existing configurations
* Detect dependencies in a gomodules project
* Add CHANGELOG entry and bump version
* Symlink to $GOPATH for non go modules projects
* Remove problematic go get setup
Diffstat (limited to 'spec/integration/ruby')
| -rw-r--r-- | spec/integration/ruby/bundler_spec.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/spec/integration/ruby/bundler_spec.rb b/spec/integration/ruby/bundler_spec.rb index f2f2873..5236adf 100644 --- a/spec/integration/ruby/bundler_spec.rb +++ b/spec/integration/ruby/bundler_spec.rb @@ -82,10 +82,10 @@ BUNDLED WITH end report = runner.scan - expect(report).not_to be_empty + expect(report).to match_schema(version: '2.0') expect(report[:licenses]).not_to be_empty - expect(report[:dependencies].map { |x| x[:name] }).to include("saml-kit") + expect(report.dependency_names).to include("saml-kit") end end @@ -117,9 +117,10 @@ BUNDLED WITH end report = runner.scan + expect(report).to match_schema(version: '2.0') expect(report[:licenses]).not_to be_empty - expect(find_in(report, 'net-hippie')).to eql({ + expect(report.find('net-hippie')).to eql({ name: 'net-hippie', description: "net/http for hippies. ☮️", url: "https://github.com/mokhan/net-hippie/", |
