Support for raster mbtiles (issue #13)
This commit is contained in:
@@ -41,7 +41,7 @@ var testTileJSON = function(url, basename) {
|
||||
describe('Metadata', function() {
|
||||
testTileJSONArray('/index.json');
|
||||
testTileJSONArray('/raster.json');
|
||||
testTileJSONArray('/vector.json');
|
||||
testTileJSONArray('/data.json');
|
||||
|
||||
describe('/styles.json is valid array', function() {
|
||||
it('is json', function(done) {
|
||||
@@ -65,5 +65,5 @@ describe('Metadata', function() {
|
||||
});
|
||||
|
||||
testTileJSON('/raster/test.json', 'test');
|
||||
testTileJSON('/vector/zurich-vector.json', 'zurich-vector');
|
||||
testTileJSON('/data/zurich-vector.json', 'zurich-vector');
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
var testTile = function(prefix, z, x, y, status) {
|
||||
var path = '/vector/' + prefix + '/' + z + '/' + x + '/' + y + '.pbf';
|
||||
var path = '/data/' + prefix + '/' + z + '/' + x + '/' + y + '.pbf';
|
||||
it(path + ' returns ' + status, function(done) {
|
||||
var test = supertest(app).get(path);
|
||||
if (status) test.expect(status);
|
||||
|
||||
Reference in New Issue
Block a user