diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-03 18:07:15 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-03 18:07:15 +0300 |
commit | fdd5c2a476dade1dd0874e37ab0c0b9ff88381ab (patch) | |
tree | 4abb334a7f0fab9698e20e2e6e672abc66c37113 /spec/uploaders | |
parent | a3759fc2e1f8aa1493840ab0d4ebd4a2e5f495aa (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/uploaders')
-rw-r--r-- | spec/uploaders/object_storage_spec.rb | 2 |
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 |