diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/classes/ntp_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/classes/ntp_spec.rb b/spec/classes/ntp_spec.rb index a29c4e4..5b28a3b 100644 --- a/spec/classes/ntp_spec.rb +++ b/spec/classes/ntp_spec.rb @@ -82,7 +82,7 @@ describe 'ntp' do }} it { expect{ subject }.to raise_error( - /^The ntp module is not supported on unsupported based systems/ + /^The ntp module is not supported on an unsupported based system./ )} end @@ -137,7 +137,7 @@ describe 'ntp' do it { should contain_service('ntp').with_hasstatus(true) } it { should contain_service('ntp').with_hasrestart(true) } it 'should allow service ensure to be overridden' do - params[:ensure] = 'stopped' + params[:ensure_service] = 'stopped' subject.should contain_service('ntp').with_ensure('stopped') end it 'should allow package ensure to be overridden' do |