From af5193aa3cc159fd7d08be988bd00f1921077117 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 24 Jan 2024 12:06:49 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- gems/gitlab-http/spec/gitlab/stub_requests.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gems') 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) -- cgit v1.2.3