summaryrefslogtreecommitdiff
path: root/spec/services/clusters
diff options
context:
space:
mode:
authorPirate Praveen <praveen@debian.org>2018-03-15 08:14:13 +0100
committerPirate Praveen <praveen@debian.org>2018-03-15 08:14:13 +0100
commit53e2987ba6a8b2fb79f5754ae13924f2939d81fd (patch)
tree93fa29420c03f066f56a6eeecc14e00ab7137490 /spec/services/clusters
parent0b246d5734b5ac10660b7af06d0f72380bd1e9bc (diff)
downloadgitlab-ce-53e2987ba6a8b2fb79f5754ae13924f2939d81fd.tar.gz
Replace KubeException with Kubeclient::HttpError (kubeclient 3.0)
Diffstat (limited to 'spec/services/clusters')
-rw-r--r--spec/services/clusters/applications/install_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/clusters/applications/install_service_spec.rb b/spec/services/clusters/applications/install_service_spec.rb
index ad175226e92..93199964a0e 100644
--- a/spec/services/clusters/applications/install_service_spec.rb
+++ b/spec/services/clusters/applications/install_service_spec.rb
@@ -34,7 +34,7 @@ describe Clusters::Applications::InstallService do
context 'when k8s cluster communication fails' do
before do
- error = KubeException.new(500, 'system failure', nil)
+ error = Kubeclient::HttpError.new(500, 'system failure', nil)
expect(helm_client).to receive(:install).with(install_command).and_raise(error)
end