]> git.openstreetmap.org Git - chef.git/blob - test/integration/clamav/serverspec/clamav_spec.rb
ce8687e5b36c2d2e005d7e0a6d17b7046c42dbc0
[chef.git] / test / integration / clamav / serverspec / clamav_spec.rb
1 require "serverspec"
2
3 # Required by serverspec
4 set :backend, :exec
5
6 describe package("clamav-daemon") do
7   it { should be_installed }
8 end
9
10 describe service("clamav-daemon") do
11   it { should be_enabled }
12   it { should be_running }
13 end
14
15 describe package("clamav-freshclam") do
16   it { should be_installed }
17 end
18
19 describe service("clamav-freshclam") do
20   it { should be_enabled }
21   it { should be_running }
22 end