diff options
author | Ashley Penney <ashley.penney@puppetlabs.com> | 2013-07-05 18:17:02 -0400 |
---|---|---|
committer | Ashley Penney <ashley.penney@puppetlabs.com> | 2013-07-05 18:53:54 -0400 |
commit | 735984e75e7a510559659f1f477c60ba2c881d9a (patch) | |
tree | 0485a06ab480fefecdefc559ecc3bcc41025737b /spec | |
parent | 441c5ba4e8b292509e74a83d4a3cdfa73cfdf14a (diff) |
Rework specs to pass with renamed params.
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 |