summaryrefslogtreecommitdiff
path: root/spec/integration/dotnet
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-03-07 15:03:26 -0700
committermo khan <mo.khan@gmail.com>2020-03-07 15:03:26 -0700
commitbc29a9d7a98fab7de435d8a06007197efa189709 (patch)
treed43e6817b3e392059f6b6481cd54f713edd7127e /spec/integration/dotnet
parent5f7786bb4865a9d9622c3819d8e0b5b67ebf0cfa (diff)
Fix nuget specs
Diffstat (limited to 'spec/integration/dotnet')
-rw-r--r--spec/integration/dotnet/nuget_spec.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/spec/integration/dotnet/nuget_spec.rb b/spec/integration/dotnet/nuget_spec.rb
index 3dce774..456bef7 100644
--- a/spec/integration/dotnet/nuget_spec.rb
+++ b/spec/integration/dotnet/nuget_spec.rb
@@ -70,11 +70,8 @@ RSpec.describe "nuget" do
expect(report).not_to be_empty
expect(report).to match_schema(version: '2.0')
- # expect(report[:licenses].map { |x| x[:id] }.uniq).to match_array(['MIT'])
- expect(report[:dependencies].map { |x| x[:name] }).to match_array([
- "jive",
- "MvcMailer",
- ])
+ expect(find_in(report, 'jive')[:licenses]).to match_array(['MIT'])
+ expect(find_in(report, 'MvcMailer')[:licenses]).to match_array(['MIT'])
end
end