Add an example to assert the service
This commit is contained in:
parent
f5e642d592
commit
78173fa80b
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user