debian-mirror-gitlab/spec/support/shared_examples/helm_generated_script.rb
2019-02-15 15:39:39 +05:30

13 lines
296 B
Ruby

shared_examples 'helm commands' do
describe '#generate_script' do
let(:helm_setup) do
<<~EOS
set -xeo pipefail
EOS
end
it 'should return appropriate command' do
expect(subject.generate_script.strip).to eq((helm_setup + commands).strip)
end
end
end