diff --git a/test/spec/ol/control/scalelinecontrol.test.js b/test/spec/ol/control/scalelinecontrol.test.js new file mode 100644 index 0000000000..2c6ead0006 --- /dev/null +++ b/test/spec/ol/control/scalelinecontrol.test.js @@ -0,0 +1,16 @@ +goog.provide('ol.test.control.ScaleLine'); + +describe('ol.control.ScaleLine', function() { + + describe('constructor', function() { + + it('can be constructed without arguments', function() { + var instance = new ol.control.ScaleLine(); + expect(instance).to.be.an(ol.control.ScaleLine); + }); + + }); + +}); + +goog.require('ol.control.ScaleLine');