]> git.openstreetmap.org Git - chef.git/blobdiff - test/integration/logstash/inspec/logstash_spec.rb
Switch to using inspec for testing
[chef.git] / test / integration / logstash / inspec / logstash_spec.rb
similarity index 63%
rename from test/integration/logstash/serverspec/logstash_spec.rb
rename to test/integration/logstash/inspec/logstash_spec.rb
index c339de542526a80b5046c5de1e9595330754c015..0ebfe55d23cae4b3780655a76e596165aae542bd 100644 (file)
@@ -1,8 +1,3 @@
-require "serverspec"
-
-# Required by serverspec
-set :backend, :exec
-
 describe package("logstash") do
   it { should be_installed }
 end
@@ -13,5 +8,6 @@ describe service("logstash") do
 end
 
 # describe port(5044) do
-#  it { should be_listening.with("tcp") }
+#   it { should be_listening }
+#   its("protocols") { should cmp "tcp" }
 # end