X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7e87085093c7714b71216c0c523e2f2e8676c324..da299818c4f78bd95f205b9c9b99d0a921ad1896:/test/integration/munin/serverspec/munin_node_spec.rb?ds=inline diff --git a/test/integration/munin/serverspec/munin_node_spec.rb b/test/integration/munin/serverspec/munin_node_spec.rb index d949d5c92..9d3fdd355 100644 --- a/test/integration/munin/serverspec/munin_node_spec.rb +++ b/test/integration/munin/serverspec/munin_node_spec.rb @@ -3,8 +3,15 @@ require "serverspec" # Required by serverspec set :backend, :exec -describe "munin-node daemon" do - it "has a running service of munin-node" do - expect(service("munin-node")).to be_running - end +describe package("munin-node") do + it { should be_installed } +end + +describe service("munin-node") do + it { should be_enabled } + it { should be_running } +end + +describe port(4949) do + it { should be_listening.with("tcp6") } end