diff --git a/spec/classes/init_spec.rb b/spec/classes/init_spec.rb index e4c8dab..244cca2 100644 --- a/spec/classes/init_spec.rb +++ b/spec/classes/init_spec.rb @@ -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 ./) end end