1 require 'spec_helper_acceptance'
\r
3 describe 'quoted paths' do
\r
4 basedir = default.tmpdir('concat')
\r
11 file { '#{basedir}/concat test':
\r
12 ensure => directory,
\r
18 context 'path with blanks' do
\r
20 concat { '#{basedir}/concat test/foo':
\r
22 concat::fragment { '1':
\r
23 target => '#{basedir}/concat test/foo',
\r
24 content => 'string1',
\r
26 concat::fragment { '2':
\r
27 target => '#{basedir}/concat test/foo',
\r
28 content => 'string2',
\r
32 it 'applies the manifest twice with no stderr' do
\r
33 apply_manifest(pp, :catch_failures => true)
\r
34 apply_manifest(pp, :catch_changes => true)
\r
37 describe file("#{basedir}/concat test/foo") do
\r
38 it { should be_file }
\r
39 its(:content) { should match /string1string2/ }
\r