]> git.openstreetmap.org Git - chef.git/blobdiff - test/integration/mail/inspec/exim_spec.rb
Switch to using inspec for testing
[chef.git] / test / integration / mail / inspec / exim_spec.rb
similarity index 61%
rename from test/integration/exim/serverspec/exim_spec.rb
rename to test/integration/mail/inspec/exim_spec.rb
index 2a6f6b2a977bf3655596e972830360aa27d36b90..170ef0a423928e85bb3517e8d86ececeed4c5e67 100644 (file)
@@ -1,8 +1,3 @@
-require "serverspec"
-
-# Required by serverspec
-set :backend, :exec
-
 describe package("exim4") do
   it { should be_installed }
 end
@@ -13,5 +8,6 @@ describe service("exim4") do
 end
 
 describe port(25) do
-  it { should be_listening.with("tcp") }
+  it { should be_listening }
+  its("protocols") { should cmp %w[tcp tcp6] }
 end