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:
authorPawel Chojnacki <pawel@chojnacki.ws>2017-07-06 14:36:16 +0300
committerPawel Chojnacki <pawel@chojnacki.ws>2017-07-06 16:43:57 +0300
commit2951a09967db1ec18050c2b94fe8d809d7ee966f (patch)
tree34087ca161f465b0d8a4d5ff3e12f3731e4b903d /spec/controllers/health_check_controller_spec.rb
parentbeb81e14ec49f7f5aff23d5b4534ba190f79d433 (diff)
Add tests for token auth.
Diffstat (limited to 'spec/controllers/health_check_controller_spec.rb')
-rw-r--r--spec/controllers/health_check_controller_spec.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/controllers/health_check_controller_spec.rb b/spec/controllers/health_check_controller_spec.rb
index e7abe1ba78d..72a5602f23e 100644
--- a/spec/controllers/health_check_controller_spec.rb
+++ b/spec/controllers/health_check_controller_spec.rb
@@ -46,8 +46,6 @@ describe HealthCheckController do
end
context 'when services are up and accessed from whitelisted ips' do
- let(:ip) { '127.0.0.1' }
-
before do
allow(Gitlab::RequestContext).to receive(:client_ip).and_return(whitelisted_ip)
end