diff options
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/integration/dotnet/nuget_spec.rb | 4 | ||||
| -rw-r--r-- | spec/support/proxy_helper.rb | 1 |
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 |
