2018-03-17 18:26:18 +05:30
|
|
|
require 'rails_helper'
|
|
|
|
|
|
|
|
describe Clusters::Applications::Helm do
|
2018-03-27 19:54:05 +05:30
|
|
|
include_examples 'cluster application core specs', :clusters_applications_helm
|
2018-03-17 18:26:18 +05:30
|
|
|
|
|
|
|
describe '#install_command' do
|
2018-03-27 19:54:05 +05:30
|
|
|
let(:helm) { create(:clusters_applications_helm) }
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2018-03-27 19:54:05 +05:30
|
|
|
subject { helm.install_command }
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2018-03-27 19:54:05 +05:30
|
|
|
it { is_expected.to be_an_instance_of(Gitlab::Kubernetes::Helm::InitCommand) }
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2018-03-27 19:54:05 +05:30
|
|
|
it 'should be initialized with 1 arguments' do
|
|
|
|
expect(subject.name).to eq('helm')
|
2018-03-17 18:26:18 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|