]> git.openstreetmap.org Git - chef.git/commitdiff
Add dnscontrol test
authorGrant Slater <github@firefishy.com>
Wed, 12 Oct 2022 14:54:57 +0000 (15:54 +0100)
committerGrant Slater <github@firefishy.com>
Wed, 12 Oct 2022 14:54:57 +0000 (15:54 +0100)
test/integration/dns/serverspec/dnscontrol_spec.rb [new file with mode: 0644]

diff --git a/test/integration/dns/serverspec/dnscontrol_spec.rb b/test/integration/dns/serverspec/dnscontrol_spec.rb
new file mode 100644 (file)
index 0000000..3103344
--- /dev/null
@@ -0,0 +1,12 @@
+require "serverspec"
+
+# Required by serverspec
+set :backend, :exec
+
+describe package("dnscontrol") do
+  it { should be_installed }
+end
+
+describe command("dnscontrol version") do
+  its(:exit_status) { should eq 0 }
+end