Fix spec tests since hashes are displayed differently in Puppet v4

This commit is contained in:
Garrett Honeycutt 2015-08-05 11:51:34 -04:00
parent f029af828b
commit 2b39c4153d

View File

@ -3093,7 +3093,7 @@ describe 'ssh' do
it do it do
expect { expect {
should contain_class('ssh') 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 end
end end
@ -3125,7 +3125,7 @@ describe 'ssh' do
it do it do
expect { expect {
should contain_class('ssh') 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 end
end end
@ -3157,7 +3157,7 @@ describe 'ssh' do
it do it do
expect { expect {
should contain_class('ssh') 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 end
end end