diff --git a/spec/classes/ntp_spec.rb b/spec/classes/ntp_spec.rb index 5535d9b2..49d6712b 100644 --- a/spec/classes/ntp_spec.rb +++ b/spec/classes/ntp_spec.rb @@ -9,9 +9,9 @@ let(:facts) {{ :osfamily => system }} end - it { should include_class('ntp::install') } - it { should include_class('ntp::config') } - it { should include_class('ntp::service') } + it { should contain_class('ntp::install') } + it { should contain_class('ntp::config') } + it { should contain_class('ntp::service') } describe "ntp::config on #{system}" do it { should contain_file('/etc/ntp.conf').with_owner('0') }