summaryrefslogtreecommitdiff
path: root/spec/integration/ruby/bundler_spec.rb
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-05-25 11:01:03 -0600
committermo khan <mo.khan@gmail.com>2020-05-26 19:33:44 -0600
commit80fa34dd2bd72af88efcb85844302d04450a0e1e (patch)
tree2a5ba8dfc9bdb61c58633373be122ae2f83df1e7 /spec/integration/ruby/bundler_spec.rb
parentbff873a938de126d2b79e799df325f3d5c31295b (diff)
Scan Conan projects
* Scan the conan examples project * Split licenses by comma * Add integration test job for c projects * Add package_manager, version and path to v2.1 report * Detect collisions between names from different package managers * Add CHANGELOG entry * Update README to indicate Conan support * Print timestamps in install script
Diffstat (limited to 'spec/integration/ruby/bundler_spec.rb')
-rw-r--r--spec/integration/ruby/bundler_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/integration/ruby/bundler_spec.rb b/spec/integration/ruby/bundler_spec.rb
index 5236adf..f0464fe 100644
--- a/spec/integration/ruby/bundler_spec.rb
+++ b/spec/integration/ruby/bundler_spec.rb
@@ -15,7 +15,7 @@ gem 'saml-kit'
end
report = runner.scan
- expect(report).to match_schema(version: '2.0')
+ expect(report).to match_schema
expect(report[:licenses]).not_to be_empty
expect(report[:dependencies].map { |x| x[:name] }).to include("saml-kit")
end
@@ -83,7 +83,7 @@ BUNDLED WITH
report = runner.scan
- expect(report).to match_schema(version: '2.0')
+ expect(report).to match_schema
expect(report[:licenses]).not_to be_empty
expect(report.dependency_names).to include("saml-kit")
end
@@ -118,7 +118,7 @@ BUNDLED WITH
report = runner.scan
- expect(report).to match_schema(version: '2.0')
+ expect(report).to match_schema
expect(report[:licenses]).not_to be_empty
expect(report.find('net-hippie')).to eql({
name: 'net-hippie',
@@ -136,7 +136,7 @@ BUNDLED WITH
'LICENSE_FINDER_CLI_OPTS' => "--debug --aggregate-paths=. ruby"
})
- expect(report).to match_schema(version: '2.0')
+ expect(report).to match_schema
end
end
end