diff --git a/spec/classes/bind_spec.rb b/spec/classes/bind_spec.rb index 9fa50ba..2f87583 100644 --- a/spec/classes/bind_spec.rb +++ b/spec/classes/bind_spec.rb @@ -7,11 +7,19 @@ describe 'bind' do context 'on Debian-derived systems' do let(:facts) { super().merge({ :osfamily => 'Debian' }) } - it { should contain_package('bind').with({ + it { + should contain_package('bind').with({ 'ensure' => 'latest', 'name' => 'bind9' }) } + + it { + should contain_service('bind').with({ + 'ensure' => 'running', + 'name' => 'bind9' + }) + } end end