X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/3d9c577508cc7d813473e5daa9f236cdd4a676fb..afcb07ba438a01c65d701902dfcb39b04a0719ec:/test/integration/vectortile/inspec/tilekiln_spec.rb diff --git a/test/integration/vectortile/inspec/tilekiln_spec.rb b/test/integration/vectortile/inspec/tilekiln_spec.rb index 2887571db..5face1904 100644 --- a/test/integration/vectortile/inspec/tilekiln_spec.rb +++ b/test/integration/vectortile/inspec/tilekiln_spec.rb @@ -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