From: Tom Hughes Date: Fri, 2 Dec 2022 12:04:17 +0000 (+0000) Subject: Fix some test failures X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/34b8075dcdae6b2094a8045e365909b5847c0dd1 Fix some test failures --- diff --git a/test/integration/nodejs/serverspec/nodejs_spec.rb b/test/integration/nodejs/serverspec/nodejs_spec.rb index f63cb1199..2d4e7fd20 100644 --- a/test/integration/nodejs/serverspec/nodejs_spec.rb +++ b/test/integration/nodejs/serverspec/nodejs_spec.rb @@ -7,6 +7,6 @@ describe package("nodejs") do it { should be_installed } end -describe package("npm") do +describe package("yarn") do it { should be_installed } end diff --git a/test/integration/planet-dump/serverspec/planetdump_spec.rb b/test/integration/planet-dump/serverspec/planetdump_spec.rb index ed082b910..ea3de5d7f 100644 --- a/test/integration/planet-dump/serverspec/planetdump_spec.rb +++ b/test/integration/planet-dump/serverspec/planetdump_spec.rb @@ -18,6 +18,7 @@ describe file("/usr/local/bin/planet-mirror-redirect-update") do it { should be_executable } end -describe file("/etc/cron.d/planet-dump-mirror") do - it { should be_file } +describe service("planet-dump-mirror.timer") do + it { should be_enabled } + it { should be_running } end diff --git a/test/integration/planet-notes/serverspec/planetdump_spec.rb b/test/integration/planet-notes/serverspec/planetdump_spec.rb index 6d35a497b..18a34b4f7 100644 --- a/test/integration/planet-notes/serverspec/planetdump_spec.rb +++ b/test/integration/planet-notes/serverspec/planetdump_spec.rb @@ -8,6 +8,7 @@ describe file("/usr/local/bin/planet-notes-dump") do it { should be_executable } end -describe file("/etc/cron.d/planet-notes-dump") do - it { should be_file } +describe service("planet-notes-dump.timer") do + it { should be_enabled } + it { should be_running } end