1 describe pip("tilekiln", "/opt/tilekiln/bin/pip") do
2 it { should be_installed }
3 its("version") { should cmp >= "0.5.0" }
6 describe service("tilekiln") do
7 it { should be_enabled }
8 it { should be_running }
11 describe port(8000) do
12 it { should be_listening }
13 its("protocols") { should cmp %w[tcp] }
16 describe http("http://localhost:8000") do
17 its("status") { should cmp 404 }
20 describe http("https://localhost/shortbread_v1/tilejson.json", :ssl_verify => false) do
21 its("status") { should cmp 200 }
24 # There are no tiles so everything should return a 404
25 describe http("https://localhost/shortbread_v1/0/0/0.mvt", :ssl_verify => false) do
26 its("status") { should cmp 404 }
28 describe http("https://localhost/shortbread_v1/16/0/0.mvt", :ssl_verify => false) do
29 its("status") { should cmp 404 }