]> git.openstreetmap.org Git - chef.git/blobdiff - test/integration/clamav/inspec/clamav_spec.rb
Switch to using inspec for testing
[chef.git] / test / integration / clamav / inspec / clamav_spec.rb
diff --git a/test/integration/clamav/inspec/clamav_spec.rb b/test/integration/clamav/inspec/clamav_spec.rb
new file mode 100644 (file)
index 0000000..f70323c
--- /dev/null
@@ -0,0 +1,17 @@
+describe package("clamav-daemon") do
+  it { should be_installed }
+end
+
+describe service("clamav-daemon") do
+  it { should be_enabled }
+  it { should be_running }
+end
+
+describe package("clamav-freshclam") do
+  it { should be_installed }
+end
+
+describe service("clamav-freshclam") do
+  it { should be_enabled }
+  it { should be_running }
+end