]> git.openstreetmap.org Git - chef.git/blobdiff - test/integration/community/inspec/docker_spec.rb
Switch to using inspec for testing
[chef.git] / test / integration / community / inspec / docker_spec.rb
diff --git a/test/integration/community/inspec/docker_spec.rb b/test/integration/community/inspec/docker_spec.rb
new file mode 100644 (file)
index 0000000..08853df
--- /dev/null
@@ -0,0 +1,20 @@
+describe package("docker-ce") do
+  it { should be_installed }
+end
+
+describe service("docker") do
+  it { should be_enabled }
+  it { should be_running }
+end
+
+describe docker_image("local_discourse/data:latest") do
+  it { should exist }
+end
+
+describe docker_image("local_discourse/mail-receiver:latest") do
+  it { should exist }
+end
+
+describe docker_image("local_discourse/web_only:latest") do
+  it { should exist }
+end