X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/45c0862be818c87ac9825ed36a7a2e9d3a1aab7c:/test/integration/serverinfo/gdsnd_spec.rb..22bf736efc9c971696fbc42a910b84c9f3895260:/test/integration/geodns/inspec/gdsnd_spec.rb diff --git a/test/integration/serverinfo/gdsnd_spec.rb b/test/integration/geodns/inspec/gdsnd_spec.rb similarity index 53% rename from test/integration/serverinfo/gdsnd_spec.rb rename to test/integration/geodns/inspec/gdsnd_spec.rb index 65adc36e2..52befb11c 100644 --- a/test/integration/serverinfo/gdsnd_spec.rb +++ b/test/integration/geodns/inspec/gdsnd_spec.rb @@ -1,8 +1,3 @@ -require "serverspec" - -# Required by serverspec -set :backend, :exec - describe package("gdnsd") do it { should be_installed } end @@ -13,6 +8,6 @@ describe service("gdnsd") do end describe port(53) do - it { should be_listening.with("udp") } - it { should be_listening.with("tcp") } + it { should be_listening } + its("protocols") { should cmp %w[udp tcp] } end