diff options
| author | mo khan <mo.khan@gmail.com> | 2020-01-15 14:41:14 -0700 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-01-15 15:03:09 -0700 |
| commit | ac9634d8f8c6bbaa8348929f42d53d2b375f6dfb (patch) | |
| tree | d54a73c7bd9172fa5e7dbec4dd05f3f639f7831b /spec/integration/ruby | |
| parent | 3aeed26912b238f6cb9c8b43587b0f3a7bf181f4 (diff) | |
Add a json schema for dependency
Diffstat (limited to 'spec/integration/ruby')
| -rw-r--r-- | spec/integration/ruby/bundler_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/integration/ruby/bundler_spec.rb b/spec/integration/ruby/bundler_spec.rb index 179da2a..2cb8f7d 100644 --- a/spec/integration/ruby/bundler_spec.rb +++ b/spec/integration/ruby/bundler_spec.rb @@ -14,6 +14,7 @@ gem 'saml-kit' 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") end @@ -81,6 +82,7 @@ BUNDLED WITH 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") end |
