summaryrefslogtreecommitdiff
path: root/spec/unit/dotnet
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-04-09 22:34:21 -0600
committermo khan <mo.khan@gmail.com>2020-04-09 22:34:21 -0600
commit02253116b9d9c8dc315ed8102c6234b030cd524d (patch)
tree2cc49c729bc651c9f22664ca09cfffeb49d816bb /spec/unit/dotnet
parent1e07313914cf93d630e74a20544bfe0678e1ef74 (diff)
Start to decouple parsers from http
Diffstat (limited to 'spec/unit/dotnet')
-rw-r--r--spec/unit/dotnet/parsers/csproj_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/dotnet/parsers/csproj_spec.rb b/spec/unit/dotnet/parsers/csproj_spec.rb
index eb6aca0..eb23a6f 100644
--- a/spec/unit/dotnet/parsers/csproj_spec.rb
+++ b/spec/unit/dotnet/parsers/csproj_spec.rb
@@ -45,7 +45,7 @@ RSpec.describe Spandx::Dotnet::Parsers::Csproj do
specify { expect(because.count).to be(1) }
specify { expect(because[0].name).to eql('System.Security.Principal.Windows') }
specify { expect(because[0].version).to eql('4.3.0') }
- specify { expect(because[0].licenses).to be_empty }
+ specify { expect(because[0].licenses.map(&:id)).to match_array(['Nonstandard']) }
end
end