summaryrefslogtreecommitdiff
path: root/spec/integration/ruby/bundler_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/ruby/bundler_spec.rb')
-rw-r--r--spec/integration/ruby/bundler_spec.rb7
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/",