Skip to content

Commit dea6a86

Browse files
author
Stephen
committed
Fix spec tests with newer version of Rpec-puppet
Newer version of rspec puppet use should_contain rather tahn should_include
1 parent ad44779 commit dea6a86

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/classes/puppet_passenger_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
}
2424
end
2525
it {
26-
should include_class('apache')
27-
should include_class('puppet::params')
28-
should include_class('apache::mod::passenger')
29-
should include_class('apache::mod::ssl')
26+
#should include_class('apache')
27+
should contain_class('puppet::params')
28+
should contain_class('apache::mod::passenger')
29+
should contain_class('apache::mod::ssl')
3030
should contain_exec('Certificate_Check').with(
3131
:command =>
3232
"puppet cert clean #{params[:certname]} ; " +

0 commit comments

Comments
 (0)