]> git.openstreetmap.org Git - chef.git/blob - test/integration/community/serverspec/docker_spec.rb
Merge remote-tracking branch 'github/pull/528'
[chef.git] / test / integration / community / serverspec / docker_spec.rb
1 require "serverspec"
2
3 # Required by serverspec
4 set :backend, :exec
5
6 describe package("docker-ce") do
7   it { should be_installed }
8 end
9
10 describe service("docker") do
11   it { should be_enabled }
12   it { should be_running }
13 end
14
15 describe docker_image("local_discourse/data:latest") do
16   it { should exist }
17 end
18
19 describe docker_image("local_discourse/mail-receiver:latest") do
20   it { should exist }
21 end
22
23 describe docker_image("local_discourse/web_only:latest") do
24   it { should exist }
25 end