From b05990adf159e608d5c39d47dd40c1965b1e8326 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Mon, 27 Jul 2026 13:08:46 +0100 Subject: [PATCH] Move docker inspec tests to use command equivilant --- test/integration/community/inspec/docker_spec.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/integration/community/inspec/docker_spec.rb b/test/integration/community/inspec/docker_spec.rb index d55eacceb..2697c0a79 100644 --- a/test/integration/community/inspec/docker_spec.rb +++ b/test/integration/community/inspec/docker_spec.rb @@ -7,17 +7,17 @@ describe service("docker") do it { should be_running } end -describe docker_image("local_discourse/data:latest") do - it { should exist } +describe command("docker image inspect local_discourse/data:latest") do + its("exit_status") { should eq 0 } end -describe docker_image("local_discourse/mail-receiver:latest") do +describe command("docker image inspect local_discourse/mail-receiver:latest") do before do skip if os.arch.include?("aarch64") # mail-receiver is not yet supported on ARM end - it { should exist } + its("exit_status") { should eq 0 } end -describe docker_image("local_discourse/web_only:latest") do - it { should exist } +describe command("docker image inspect local_discourse/web_only:latest") do + its("exit_status") { should eq 0 } end -- 2.47.3