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:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-11-07 19:35:55 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2017-11-07 19:35:55 +0300
commitc42786021caed7e10ca3b001be1ae08fc092417a (patch)
tree499e3fb7da0bf27727c5c45cdad411c68b9bb270 /spec/models/clusters
parent18760259182050ee92e8e10dc5d46e56ca7f601f (diff)
parent02878cd958557128cd9c22b27bd2fb97a843266b (diff)
Merge remote-tracking branch 'origin/38464-k8s-apps' into add-ingress-to-cluster-applications
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) }