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