diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-11-07 19:35:55 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-11-07 19:35:55 +0300 |
commit | c42786021caed7e10ca3b001be1ae08fc092417a (patch) | |
tree | 499e3fb7da0bf27727c5c45cdad411c68b9bb270 /spec/models | |
parent | 18760259182050ee92e8e10dc5d46e56ca7f601f (diff) | |
parent | 02878cd958557128cd9c22b27bd2fb97a843266b (diff) |
Merge remote-tracking branch 'origin/38464-k8s-apps' into add-ingress-to-cluster-applications
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) } |