summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-08-06 12:01:01 -0600
committermo khan <mo.khan@gmail.com>2020-08-06 12:01:01 -0600
commita1621bf89917c4159762ec8ae3635d5aff14f148 (patch)
treee1696a86848971c133ddb50e85c7e15412940380 /spec
parentdae67cdc5db97d87b90b76b3283b674edc052e16 (diff)
Package license management deb from deb job
Diffstat (limited to 'spec')
-rw-r--r--spec/integration/dotnet/nuget_spec.rb4
-rw-r--r--spec/support/proxy_helper.rb1
2 files changed, 5 insertions, 0 deletions
diff --git a/spec/integration/dotnet/nuget_spec.rb b/spec/integration/dotnet/nuget_spec.rb
index 1d9a62c..90a189b 100644
--- a/spec/integration/dotnet/nuget_spec.rb
+++ b/spec/integration/dotnet/nuget_spec.rb
@@ -1,6 +1,10 @@
require 'spec_helper'
RSpec.describe "nuget" do
+ before do
+ system("rm -fr /opt/gitlab/.nuget/packages")
+ end
+
include_examples "each report version", "csharp", "nuget-dotnetcore"
context "when a project has a nuget packages.config file in the root" do
diff --git a/spec/support/proxy_helper.rb b/spec/support/proxy_helper.rb
index 9b42e18..9ad0dde 100644
--- a/spec/support/proxy_helper.rb
+++ b/spec/support/proxy_helper.rb
@@ -39,5 +39,6 @@ RSpec.configure do |config|
system("rm -f /usr/lib/ssl/certs/custom.*")
system("update-ca-certificates -v")
system("c_rehash -v")
+ system("cert_sync /etc/ssl/certs/ca-certificates.crt")
end
end