diff options
| author | mo khan <mo.khan@gmail.com> | 2020-03-07 15:03:26 -0700 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-03-07 15:03:26 -0700 |
| commit | bc29a9d7a98fab7de435d8a06007197efa189709 (patch) | |
| tree | d43e6817b3e392059f6b6481cd54f713edd7127e /spec/integration/dotnet | |
| parent | 5f7786bb4865a9d9622c3819d8e0b5b67ebf0cfa (diff) | |
Fix nuget specs
Diffstat (limited to 'spec/integration/dotnet')
| -rw-r--r-- | spec/integration/dotnet/nuget_spec.rb | 7 |
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 |
