diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-24 15:06:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-24 15:06:49 +0300 |
commit | af5193aa3cc159fd7d08be988bd00f1921077117 (patch) | |
tree | 664d9936ab99208c49b8721877be87b7e420d5bd /gems | |
parent | 4dcdd5bebb55bd5522ec180070d4d265e00943b5 (diff) |
Diffstat (limited to 'gems')
-rw-r--r-- | gems/gitlab-http/spec/gitlab/stub_requests.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gems/gitlab-http/spec/gitlab/stub_requests.rb b/gems/gitlab-http/spec/gitlab/stub_requests.rb index ea4a6865251..048d41a625a 100644 --- a/gems/gitlab-http/spec/gitlab/stub_requests.rb +++ b/gems/gitlab-http/spec/gitlab/stub_requests.rb @@ -23,7 +23,7 @@ module Gitlab socket = Socket.sockaddr_in(port, ip_address) addr = Addrinfo.new(socket) - # See Gitlab::UrlBlocker + # See Gitlab::HTTP_V2::UrlBlocker allow(Addrinfo).to receive(:getaddrinfo) .with(url.hostname, url.port, nil, :STREAM) .and_return([addr]) @@ -35,7 +35,7 @@ module Gitlab socket = Socket.sockaddr_in(port, ip_address) addr = Addrinfo.new(socket) - # See Gitlab::UrlBlocker + # See Gitlab::HTTP_V2::UrlBlocker allow(Addrinfo).to receive(:getaddrinfo).and_call_original allow(Addrinfo).to receive(:getaddrinfo) .with(url.hostname, anything, nil, :STREAM) |