]> git.openstreetmap.org Git - chef.git/blobdiff - test/integration/vectortile/inspec/tilekiln_spec.rb
imagery: set mapserver memory limit
[chef.git] / test / integration / vectortile / inspec / tilekiln_spec.rb
index 2887571db57814428c3ae5b11a201105d4fec6a9..5face190472c2449d94d6ed8a4e01409b130afb4 100644 (file)
@@ -21,10 +21,10 @@ describe http("https://localhost/shortbread_v1/tilejson.json", :ssl_verify => fa
   its("status") { should cmp 200 }
 end
 
-# There are no tiles so everything should return a 404
-describe http("https://localhost/shortbread_v1/0/0/0.mvt", :ssl_verify => false) do
-  its("status") { should cmp 404 }
+describe json(:content => http("https://localhost/shortbread_v1/tilejson.json", :ssl_verify => false).body) do
+  its(["tiles"]) { should eq(["https://vector.openstreetmap.org/shortbread_v1/{z}/{x}/{y}.mvt"]) }
 end
+
 describe http("https://localhost/shortbread_v1/16/0/0.mvt", :ssl_verify => false) do
-  its("status") { should cmp 404 }
+  its("status") { should cmp 410 }
 end