diff options
author | Alessio Caiazza <acaiazza@gitlab.com> | 2017-11-07 15:26:14 +0100 |
---|---|---|
committer | Alessio Caiazza <acaiazza@gitlab.com> | 2017-11-07 17:12:41 +0100 |
commit | 8ec618a6ede619d9f75279f03c03b24d106c79c7 (patch) | |
tree | 7fe8501fb56edf3f33febe5c0d39019160715293 /spec/models | |
parent | 760a154a032319a90e15dcf4d54ec1c1cdde9e1c (diff) | |
download | gitlab-ce-8ec618a6ede619d9f75279f03c03b24d106c79c7.tar.gz |
Add Helm InstallCommand
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/clusters/applications/helm_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/models/clusters/applications/helm_spec.rb b/spec/models/clusters/applications/helm_spec.rb index beb10bf38c9..f8855079842 100644 --- a/spec/models/clusters/applications/helm_spec.rb +++ b/spec/models/clusters/applications/helm_spec.rb @@ -38,6 +38,12 @@ describe Clusters::Applications::Helm do end end + describe '#install_command' do + it 'has all the needed information' do + expect(subject.install_command).to have_attributes(name: subject.name, install_helm: true, chart: nil) + end + end + describe 'status state machine' do describe '#make_installing' do subject { create(:cluster_applications_helm, :scheduled) } |