summaryrefslogtreecommitdiff
path: root/spec/integration/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/ruby')
-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