]> git.openstreetmap.org Git - chef.git/blobdiff - test/integration/community/inspec/http_spec.rb
Switch to using inspec for testing
[chef.git] / test / integration / community / inspec / http_spec.rb
diff --git a/test/integration/community/inspec/http_spec.rb b/test/integration/community/inspec/http_spec.rb
new file mode 100644 (file)
index 0000000..e5e0677
--- /dev/null
@@ -0,0 +1,9 @@
+describe port(80) do
+  it { should be_listening }
+  its("protocols") { should cmp %w[tcp tcp6] }
+end
+
+describe port(443) do
+  it { should be_listening }
+  its("protocols") { should cmp %w[tcp tcp6] }
+end