diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2019-08-02 22:02:57 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-08-02 22:02:57 +0300 |
commit | 5027979b9ba0ebfb6376cfa78114e942f5054c5c (patch) | |
tree | 3a5f5c44fc2f3960569aec6d5e98ce382172dfd2 /spec/features/projects | |
parent | 2d697018ca7ea63cbbdf7879bc93b8fa1b2ae678 (diff) |
Implement Helm ResetCommand for removing Tiller
Also creates specs
Only allow Helm to be uninstalled if it's the only app
- Remove Tiller leftovers after reser command
- Fixes specs and offenses
Adds changelog file
Fix reset_command specs
Diffstat (limited to 'spec/features/projects')
-rw-r--r-- | spec/features/projects/clusters/applications_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/features/projects/clusters/applications_spec.rb b/spec/features/projects/clusters/applications_spec.rb index de97c8a8bc0..217bf1f5506 100644 --- a/spec/features/projects/clusters/applications_spec.rb +++ b/spec/features/projects/clusters/applications_spec.rb @@ -63,7 +63,8 @@ describe 'Clusters Applications', :js do Clusters::Cluster.last.application_helm.make_installed! - expect(page).to have_css('.js-cluster-application-install-button[disabled]', exact_text: 'Installed') + expect(page).not_to have_css('.js-cluster-application-install-button') + expect(page).to have_css('.js-cluster-application-uninstall-button:not([disabled])', exact_text: 'Uninstall') end expect(page).to have_content('Helm Tiller was successfully installed on your Kubernetes cluster') |