# These resources live in the bundled inspec-docker-resources and
# inspec-podman-resources gems. Referencing them here triggers the
# resource-pack fallback in the cinc-forked inspec-core, which must load
# them from the bundled gems - the profile declares no dependencies and
# the runner gets a scratch INSPEC_CONFIG_DIR, so a plugin install or
# network fetch has nothing to fall back on. The assertions stop at
# respond_to so no docker/podman daemon is needed.

describe docker_container("cinc-smoke-test") do
  it { should respond_to(:exist?) }
end

# Bare resource names (no _suffix) exercise the fallback pattern fix
describe "bare docker resource" do
  subject { docker }
  it { should respond_to(:info) }
end

describe podman_container("cinc-smoke-test") do
  it { should respond_to(:exist?) }
end

describe "bare podman resource" do
  subject { podman }
  it { should respond_to(:info) }
end
