Rename control tests for consistency

This commit is contained in:
Tim Schaub
2016-08-06 11:43:14 -06:00
parent 684af3503c
commit 386e215b47
8 changed files with 0 additions and 0 deletions
@@ -0,0 +1,25 @@
goog.provide('ol.test.control.MousePosition');
describe('ol.control.MousePosition', function() {
describe('constructor', function() {
it('can be constructed without arguments', function() {
var instance = new ol.control.MousePosition();
expect(instance).to.be.an(ol.control.MousePosition);
expect(instance.element.className).to.be('ol-mouse-position');
});
it('creates the element with the provided class name', function() {
var className = 'foobar';
var instance = new ol.control.MousePosition({
className: className
});
expect(instance.element.className).to.be(className);
});
});
});
goog.require('ol.control.MousePosition');