From 2b39c4153d685e1e97978fcfacbb307196550022 Mon Sep 17 00:00:00 2001 From: Garrett Honeycutt Date: Wed, 5 Aug 2015 11:51:34 -0400 Subject: [PATCH] Fix spec tests since hashes are displayed differently in Puppet v4 --- spec/classes/init_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/classes/init_spec.rb b/spec/classes/init_spec.rb index 1b94f3a..da5dece 100644 --- a/spec/classes/init_spec.rb +++ b/spec/classes/init_spec.rb @@ -3093,7 +3093,7 @@ describe 'ssh' do it do expect { should contain_class('ssh') - }.to raise_error(Puppet::Error,/ssh::sshd_hostbasedauthentication may be either 'yes' or 'no' and is set to <#{value}>\./) + }.to raise_error(Puppet::Error,/ssh::sshd_hostbasedauthentication may be either 'yes' or 'no' and is set to/) end end end @@ -3125,7 +3125,7 @@ describe 'ssh' do it do expect { should contain_class('ssh') - }.to raise_error(Puppet::Error,/ssh::sshd_ignoreuserknownhosts may be either 'yes' or 'no' and is set to <#{value}>\./) + }.to raise_error(Puppet::Error,/ssh::sshd_ignoreuserknownhosts may be either 'yes' or 'no' and is set to/) end end end @@ -3157,7 +3157,7 @@ describe 'ssh' do it do expect { should contain_class('ssh') - }.to raise_error(Puppet::Error,/ssh::sshd_ignorerhosts may be either 'yes' or 'no' and is set to <#{value}>\./) + }.to raise_error(Puppet::Error,/ssh::sshd_ignorerhosts may be either 'yes' or 'no' and is set to/) end end end