Remove ol/Attribution

This commit is contained in:
Tim Schaub
2017-12-12 19:27:12 -07:00
parent ac6b3fb908
commit 7e3d44e35a
8 changed files with 24 additions and 239 deletions

View File

@@ -163,13 +163,13 @@ describe('ol.source.TileUTFGrid', function() {
it('sets up correct attribution', function() {
var source = getTileUTFGrid();
expect(source.getAttributions2()).to.be(null);
expect(source.getAttributions()).to.be(null);
// call the handleTileJSONResponse method with our
// locally available tileJson (from `before`)
source.handleTileJSONResponse(tileJson);
var attributions = source.getAttributions2();
var attributions = source.getAttributions();
expect(attributions).to.not.be(null);
expect(typeof attributions).to.be('function');
});