summaryrefslogtreecommitdiff
path: root/spec/integration/dotnet
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-01-15 15:11:58 -0700
committermo khan <mo.khan@gmail.com>2020-01-15 15:11:58 -0700
commit3e9bbcd897812e64d3a356dcd5806baeec198d65 (patch)
tree51db8d3f5d971f348ad7af76c954a7ae64ed3931 /spec/integration/dotnet
parent1046fecb2ea48d6fac210502dbe941725a1f5a71 (diff)
Validate version #
Diffstat (limited to 'spec/integration/dotnet')
-rw-r--r--spec/integration/dotnet/examples_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/integration/dotnet/examples_spec.rb b/spec/integration/dotnet/examples_spec.rb
index 43caea0..5b2a913 100644
--- a/spec/integration/dotnet/examples_spec.rb
+++ b/spec/integration/dotnet/examples_spec.rb
@@ -6,6 +6,7 @@ RSpec.describe ".NET Core" do
report = runner.scan(env: { 'LICENSE_FINDER_CLI_OPTS' => '--recursive' })
expect(report).not_to be_empty
+ expect(report).to match_schema(version: '2.0')
expect(report[:licenses].count).not_to be_zero
expect(report[:dependencies].count).not_to be_zero
end