summaryrefslogtreecommitdiff
path: root/spec/models/clusters/applications/helm_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/clusters/applications/helm_spec.rb')
-rw-r--r--spec/models/clusters/applications/helm_spec.rb6
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) }