summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/health_checks/probes/collection_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/gitlab/health_checks/probes/collection_spec.rb')
-rw-r--r--spec/lib/gitlab/health_checks/probes/collection_spec.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/lib/gitlab/health_checks/probes/collection_spec.rb b/spec/lib/gitlab/health_checks/probes/collection_spec.rb
index f1791375cea..09e1a828aeb 100644
--- a/spec/lib/gitlab/health_checks/probes/collection_spec.rb
+++ b/spec/lib/gitlab/health_checks/probes/collection_spec.rb
@@ -18,10 +18,6 @@ RSpec.describe Gitlab::HealthChecks::Probes::Collection do
end
it 'responds with readiness checks data' do
- expect_next_instance_of(Gitlab::GitalyClient::ServerService) do |service|
- expect(service).to receive(:readiness_check).and_return({ success: true })
- end
-
expect(subject.http_status).to eq(200)
expect(subject.json[:status]).to eq('ok')