debian-mirror-gitlab/spec/lib/gitlab/kubernetes/helm/init_command_spec.rb

11 lines
461 B
Ruby
Raw Normal View History

2018-03-27 19:54:05 +05:30
require 'spec_helper'
describe Gitlab::Kubernetes::Helm::InitCommand do
let(:application) { create(:clusters_applications_helm) }
2018-11-18 11:00:15 +05:30
let(:commands) { 'helm init --tiller-tls --tiller-tls-verify --tls-ca-cert /data/helm/helm/config/ca.pem --tiller-tls-cert /data/helm/helm/config/cert.pem --tiller-tls-key /data/helm/helm/config/key.pem >/dev/null' }
2018-03-27 19:54:05 +05:30
2018-11-18 11:00:15 +05:30
subject { described_class.new(name: application.name, files: {}) }
2018-03-27 19:54:05 +05:30
2018-10-15 14:42:47 +05:30
it_behaves_like 'helm commands'
2018-03-27 19:54:05 +05:30
end