Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-03 18:07:15 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-03 18:07:15 +0300
commitfdd5c2a476dade1dd0874e37ab0c0b9ff88381ab (patch)
tree4abb334a7f0fab9698e20e2e6e672abc66c37113 /spec/uploaders
parenta3759fc2e1f8aa1493840ab0d4ebd4a2e5f495aa (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/uploaders')
-rw-r--r--spec/uploaders/object_storage_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/uploaders/object_storage_spec.rb b/spec/uploaders/object_storage_spec.rb
index 9b48f1fdd8e..a4f6116f7d7 100644
--- a/spec/uploaders/object_storage_spec.rb
+++ b/spec/uploaders/object_storage_spec.rb
@@ -283,7 +283,7 @@ RSpec.describe ObjectStorage do
# We need to check the Host header not including the port because AWS does not accept
stub_request(:get, %r{s3.amazonaws.com/#{uploader.path}})
- .with { |request| request.headers['Host'].to_s.exclude?(':443') }
+ .with { |request| !request.headers['Host'].to_s.include?(':443') }
.to_return(status: 200, body: '')
end