summaryrefslogtreecommitdiff
path: root/spec/models/clusters/applications
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-09-24 00:06:02 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-09-24 00:06:02 +0000
commit83ad9ec8cc449dca0b57a34a10afd529326c1d57 (patch)
treeb085aacd0682bb2e6073c45b4a6a7ef8b48b7069 /spec/models/clusters/applications
parentb9254657872c4db441ab268154686f5476fb4bc6 (diff)
downloadgitlab-ce-83ad9ec8cc449dca0b57a34a10afd529326c1d57.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/clusters/applications')
-rw-r--r--spec/models/clusters/applications/helm_spec.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/models/clusters/applications/helm_spec.rb b/spec/models/clusters/applications/helm_spec.rb
index 9672129bb1e..64f58155a66 100644
--- a/spec/models/clusters/applications/helm_spec.rb
+++ b/spec/models/clusters/applications/helm_spec.rb
@@ -134,4 +134,14 @@ describe Clusters::Applications::Helm do
end
end
end
+
+ describe '#post_uninstall' do
+ let(:helm) { create(:clusters_applications_helm, :installed) }
+
+ it do
+ expect(helm.cluster.kubeclient).to receive(:delete_namespace).with('gitlab-managed-apps')
+
+ helm.post_uninstall
+ end
+ end
end