X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Fconcat%2Fspec%2Facceptance%2Freplace_spec.rb;h=c9e28ecc4a1361b10e7ff0d002aa67e4a35f4512;hb=6f656bd4265e3dab13b9af2bf96e9044322e9d8f;hp=68d7383fef3f79ac906ef7618ef5d6f6db5460b5;hpb=23d29143ac40015ce61cf83a4067466f8f7d66dc;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/concat/spec/acceptance/replace_spec.rb b/3rdparty/modules/concat/spec/acceptance/replace_spec.rb index 68d7383fe..c9e28ecc4 100644 --- a/3rdparty/modules/concat/spec/acceptance/replace_spec.rb +++ b/3rdparty/modules/concat/spec/acceptance/replace_spec.rb @@ -217,8 +217,8 @@ describe 'replacement of' do EOS it 'applies the manifest twice with stderr for changing to file' do - expect(apply_manifest(pp, :expect_failures => true).stderr).to match(/change from directory to file failed/) - expect(apply_manifest(pp, :expect_failures => true).stderr).to match(/change from directory to file failed/) + expect(apply_manifest(pp, :expect_failures => true).stderr).to match(/change from '?directory'? to '?file'? failed/) + expect(apply_manifest(pp, :expect_failures => true).stderr).to match(/change from '?directory'? to '?file'? failed/) end describe file("#{basedir}/file") do