Use the more suitable getLayergroup to validate regression

This commit is contained in:
Raul Ochoa
2016-05-13 00:49:09 +02:00
parent 7c2924ae14
commit 4abadec9c4
@@ -67,8 +67,12 @@ describe('turbo-carto regressions', function() {
});
it('should accept // comments', function(done) {
this.testClient.getTile(0, 0, 0, function(err) {
this.testClient.getLayergroup(function(err, layergroup) {
assert.ok(!err, err);
assert.ok(layergroup.hasOwnProperty('layergroupid'));
assert.ok(!layergroup.hasOwnProperty('errors'));
done();
});
});