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