gitlab-org--gitlab-foss/spec/support/shared_examples/helm_generated_script.rb
2019-07-25 17:33:34 +12:00

15 lines
321 B
Ruby

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