summaryrefslogtreecommitdiff
path: root/spec/unit/dotnet
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-04-13 12:00:12 -0600
committermo khan <mo.khan@gmail.com>2020-04-13 12:00:12 -0600
commit47b58a70c7cf08ef1b9158222271c8309550b25c (patch)
treeaf21cc4c0ee123deb02c696ee4ee13f43cc959c4 /spec/unit/dotnet
parent1304d8711d489b5a15b49da0a66906f7fed7040c (diff)
Inject http into each gateway
Diffstat (limited to 'spec/unit/dotnet')
-rw-r--r--spec/unit/dotnet/index_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/dotnet/index_spec.rb b/spec/unit/dotnet/index_spec.rb
index 29f3b65..da5e3b9 100644
--- a/spec/unit/dotnet/index_spec.rb
+++ b/spec/unit/dotnet/index_spec.rb
@@ -11,7 +11,7 @@ RSpec.describe Spandx::Dotnet::Index do
describe '#update!' do
let(:catalogue) { Spandx::Spdx::Catalogue.from_file(fixture_file('spdx/json/licenses.json')) }
- let(:gateway) { instance_double(Spandx::Dotnet::NugetGateway, host: 'api.nuget.org') }
+ let(:gateway) { instance_double(Spandx::Dotnet::NugetGateway) }
before do
allow(Spandx::Dotnet::NugetGateway).to receive(:new).and_return(gateway)