X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c2ff078bfc6519fad2c741f04ef84fcf4f6530f3..d3dc43c96d47c2a49c9a9d2118ae1d3c3d6af02f:/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 d44562d4c..5face1904 100644 --- a/test/integration/vectortile/inspec/tilekiln_spec.rb +++ b/test/integration/vectortile/inspec/tilekiln_spec.rb @@ -21,14 +21,10 @@ describe http("https://localhost/shortbread_v1/tilejson.json", :ssl_verify => fa its("status") { should cmp 200 } end -describe json(:content => http("https://localhost/shortbread_v1/tilejson.json", :ssl_verify => false)) do +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 -# 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 } -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