X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/25a26001fe25c80fc14bffc6a4600246c996fa85..b0fb76fc1c841d61b203b2cb415916e6a430e9ab:/test/integration/stateofthemap-wordpress/serverspec/apache_spec.rb diff --git a/test/integration/stateofthemap-wordpress/serverspec/apache_spec.rb b/test/integration/stateofthemap-wordpress/serverspec/apache_spec.rb new file mode 100644 index 000000000..446d3b915 --- /dev/null +++ b/test/integration/stateofthemap-wordpress/serverspec/apache_spec.rb @@ -0,0 +1,21 @@ +require "serverspec" + +# Required by serverspec +set :backend, :exec + +describe package("apache2") do + it { should be_installed } +end + +describe service("apache2") do + it { should be_enabled } + it { should be_running } +end + +describe port(80) do + it { should be_listening.with("tcp") } +end + +describe port(443) do + it { should be_listening.with("tcp") } +end