From 735984e75e7a510559659f1f477c60ba2c881d9a Mon Sep 17 00:00:00 2001 From: Ashley Penney Date: Fri, 5 Jul 2013 18:17:02 -0400 Subject: Rework specs to pass with renamed params. --- spec/classes/ntp_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec') 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 -- cgit v1.2.3