From 2afe44fd223e8fbeed21cd3e05bd7312bfa1993d Mon Sep 17 00:00:00 2001 From: Garrett Honeycutt Date: Fri, 27 Dec 2013 17:47:46 -0500 Subject: [PATCH] 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/ --- spec/classes/init_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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