Support rspec-puppet v1.0.0
include_class has been replaced with contain_class. http://bombasticmonkey.com/2013/12/05/rspec-puppet-1.0.0/
This commit is contained in:
parent
9c0985514d
commit
2afe44fd22
@ -532,7 +532,7 @@ describe 'ssh' do
|
||||
|
||||
it 'should fail' do
|
||||
expect {
|
||||
should include_class('ssh')
|
||||
should contain_class('ssh')
|
||||
}.to raise_error(Puppet::Error,/ssh_config_hash_known_hosts may be either \'yes\' or \'no\' and is set to <invalid>./)
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user