Sha256: 1caed996fc997dd9317783aa0a6effd6c85c930317db99bdf57f293140daa1f8
Contents?: true
Size: 1010 Bytes
Versions: 6
Compression:
Stored size: 1010 Bytes
Contents
require 'spec_helper_acceptance' describe 'quoted paths' do basedir = default.tmpdir('concat') before(:all) do pp = <<-EOS file { '#{basedir}': ensure => directory, } file { '#{basedir}/concat test': ensure => directory, } EOS apply_manifest(pp) end context 'path with blanks' do pp = <<-EOS concat { '#{basedir}/concat test/foo': } concat::fragment { '1': target => '#{basedir}/concat test/foo', content => 'string1', } concat::fragment { '2': target => '#{basedir}/concat test/foo', content => 'string2', } EOS it 'applies the manifest twice with no stderr' do apply_manifest(pp, :catch_failures => true) apply_manifest(pp, :catch_changes => true) end describe file("#{basedir}/concat test/foo") do it { should be_file } its(:content) { should match /string1string2/ } end end end
Version data entries
6 entries across 6 versions & 1 rubygems