summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-01-22 15:17:20 -0700
committermo khan <mo.khan@gmail.com>2020-01-22 15:17:20 -0700
commit9f9e1d10735e52a5feee0788a1a0390c8812c9b5 (patch)
treeef8ae9213b5e3fae32b6f61dfef5c88add407aa1
parent2711458b93babf86394df3994d5543ee85ad5382 (diff)
Include list of expected licenses
-rw-r--r--spec/integration/dotnet/nuget_spec.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/integration/dotnet/nuget_spec.rb b/spec/integration/dotnet/nuget_spec.rb
index 6d82853..634a8f5 100644
--- a/spec/integration/dotnet/nuget_spec.rb
+++ b/spec/integration/dotnet/nuget_spec.rb
@@ -93,9 +93,13 @@ RSpec.describe ".NET Framework" do
expect(report).not_to be_empty
expect(report).to match_schema(version: '2.0')
expect(report[:licenses].count).not_to be_zero
+ expect(report[:licenses].map { |x| x[:id] }.uniq).to match_array(['LGPL-2.1', 'Apache-2.0', 'BSD-3-Clause'])
expect(report[:dependencies].map { |x| x[:name] }).to match_array([
- "NHibernate",
+ 'Iesi.Collections',
+ 'Remotion.Linq',
+ 'Remotion.Linq.EagerFetching',
"Antlr3.Runtime",
+ "NHibernate",
])
end
end