]> git.openstreetmap.org Git - chef.git/blobdiff - test/integration/munin/inspec/munin_node_spec.rb
Switch to using inspec for testing
[chef.git] / test / integration / munin / inspec / munin_node_spec.rb
similarity index 63%
rename from test/integration/munin/serverspec/munin_node_spec.rb
rename to test/integration/munin/inspec/munin_node_spec.rb
index 9d3fdd3555ac79cffc189badc1aa4cad6ca908d2..e07e3b27988ab5fd9a405bd55258858a2e85d166 100644 (file)
@@ -1,8 +1,3 @@
-require "serverspec"
-
-# Required by serverspec
-set :backend, :exec
-
 describe package("munin-node") do
   it { should be_installed }
 end
@@ -13,5 +8,6 @@ describe service("munin-node") do
 end
 
 describe port(4949) do
-  it { should be_listening.with("tcp6") }
+  it { should be_listening }
+  its("protocols") { should cmp "tcp" }
 end