1 describe package("apache2") do
2 it { should be_installed }
5 describe service("apache2") do
6 it { should be_enabled }
7 it { should be_running }
11 it { should be_listening }
12 its("protocols") { should cmp "tcp" }
16 it { should be_listening }
17 its("protocols") { should cmp "tcp" }