]> git.openstreetmap.org Git - chef.git/blobdiff - test/integration/sysfs/serverspec/sysfsutils_spec.rb
Add test for sysfs cookbook
[chef.git] / test / integration / sysfs / serverspec / sysfsutils_spec.rb
diff --git a/test/integration/sysfs/serverspec/sysfsutils_spec.rb b/test/integration/sysfs/serverspec/sysfsutils_spec.rb
new file mode 100644 (file)
index 0000000..fde71d8
--- /dev/null
@@ -0,0 +1,13 @@
+require "serverspec"
+
+# Required by serverspec
+set :backend, :exec
+
+describe package("sysfsutils") do
+  it { should be_installed }
+end
+
+describe service("sysfsutils") do
+  it { should be_enabled }
+  it { should be_running }
+end