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:
Diffstat (limited to 'gems/gitlab-http/spec/gitlab/stub_requests.rb')
-rw-r--r--gems/gitlab-http/spec/gitlab/stub_requests.rb4
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)