]> git.openstreetmap.org Git - chef.git/blobdiff - test/integration/forum/serverspec/apache_spec.rb
Check that servers are listening on the right protocols
[chef.git] / test / integration / forum / serverspec / apache_spec.rb
index 9d5268271b4f3898a2b4b9587b36dae630534146..446d3b9151e31c90d581e9216378508886b402b1 100644 (file)
@@ -13,9 +13,9 @@ describe service("apache2") do
 end
 
 describe port(80) do
-  it { should be_listening }
+  it { should be_listening.with("tcp") }
 end
 
 describe port(443) do
-  it { should be_listening }
+  it { should be_listening.with("tcp") }
 end