Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessio Caiazza <acaiazza@gitlab.com>2017-11-07 17:26:14 +0300
committerAlessio Caiazza <acaiazza@gitlab.com>2017-11-07 19:12:41 +0300
commit8ec618a6ede619d9f75279f03c03b24d106c79c7 (patch)
tree7fe8501fb56edf3f33febe5c0d39019160715293 /spec/models/clusters
parent760a154a032319a90e15dcf4d54ec1c1cdde9e1c (diff)
Add Helm InstallCommand
Diffstat (limited to 'spec/models/clusters')
-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) }