summaryrefslogtreecommitdiff
path: root/spec/unit/dotnet
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-04-10 11:28:02 -0600
committermo khan <mo.khan@gmail.com>2020-04-10 11:28:02 -0600
commitc2a659c02eaf4a00c52d5ed1f11d4cc544993ed5 (patch)
tree02d92836821a5afeed58d6add30917142e99f936 /spec/unit/dotnet
parent741496549b4a927a1831b4983fe1ea7d23833374 (diff)
Fix nuget gateway and yarn pkg specs
Diffstat (limited to 'spec/unit/dotnet')
-rw-r--r--spec/unit/dotnet/nuget_gateway_spec.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/unit/dotnet/nuget_gateway_spec.rb b/spec/unit/dotnet/nuget_gateway_spec.rb
index 26e73f7..1fe02df 100644
--- a/spec/unit/dotnet/nuget_gateway_spec.rb
+++ b/spec/unit/dotnet/nuget_gateway_spec.rb
@@ -1,9 +1,7 @@
# frozen_string_literal: true
RSpec.describe Spandx::Dotnet::NugetGateway do
- subject { described_class.new(catalogue: catalogue) }
-
- let(:catalogue) { Spandx::Spdx::Catalogue.from_file(fixture_file('spdx/json/licenses.json')) }
+ subject { described_class.new }
describe '#licenses_for' do
context 'when the package specifies the license using an expression' do