#  service named 'default'
describe command('docker images') do
  its(:exit_status) { should eq 0 }
  its(:stdout) { should match(/busybox/) }
end

describe command('docker ps -a') do
  its(:exit_status) { should eq 0 }
  its(:stdout) { should match(/an_echo_server/) }
end

# service one
describe command('docker --host=unix:///var/run/docker-one.sock images') do
  its(:exit_status) { should eq 0 }
  its(:stdout) { should match(/^hello-world/) }
  its(:stdout) { should_not match(/^alpine/) }
end

describe command('docker --host=unix:///var/run/docker-one.sock ps -a') do
  its(:exit_status) { should eq 0 }
  its(:stdout) { should match(/hello-world/) }
  its(:stdout) { should_not match(/an_echo_server/) }
end

Revert "Remove the inspec tests for smoke"
Revert "Remove the inspec tests for smoke"

This reverts commit 508a8cc03921932105fa5c7c345149c4cb312c1d.
