Update and add tests

This commit is contained in:
Petr Sloup
2016-03-11 11:27:17 +01:00
parent 8a46bd8b88
commit 1c73c14d84
5 changed files with 94 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
var testTile = function(prefix, z, x, y, status) {
var path = '/' + prefix + '/' + z + '/' + x + '/' + y + '.pbf';
var path = '/vector/' + prefix + '/' + z + '/' + x + '/' + y + '.pbf';
it(path + ' returns ' + status, function(done) {
var test = supertest(app).get(path);
if (status) test.expect(status);