]> git.openstreetmap.org Git - chef.git/blobdiff - test/integration/web-cgimap/inspec/cgimap_spec.rb
Fix cgimap tests to check for unix domain socket
[chef.git] / test / integration / web-cgimap / inspec / cgimap_spec.rb
index 8c9b5ce24e45b6363f994dbf46837f20a56c4e5a..2d3953465525b4e35a55afab184290ce0d884b60 100644 (file)
@@ -3,7 +3,6 @@ describe service("cgimap") do
   it { should be_running }
 end
 
-describe port(8000) do
-  it { should be_listening }
-  its("protocols") { should cmp "tcp" }
+describe file("/run/cgimap/socket") do
+  it { should be_socket }
 end