spec/input_responders/play_spec.rb in puppet-debugger-0.7.0 vs spec/input_responders/play_spec.rb in puppet-debugger-0.8.0

- old
+ new

@@ -129,9 +129,23 @@ plugin.play_back_string(input) expect(output.string).to include("$var1 = 'test'") expect(output.string).to include('"test"') end end + describe 'multiple lines puppet code' do + let(:input) do + <<-EOF +if $osfamily { + $var = '3' +} +$var + EOF + end + xit do + plugin.play_back_string(input) + expect(output.string).to include('"3"') + end + end end describe 'play' do let(:fixtures_file) do File.join(fixtures_dir, 'sample_manifest.pp') \ No newline at end of file