Remove enums from tests

This commit is contained in:
Peter Robins
2016-06-03 07:38:15 +00:00
parent d51fecd827
commit 06fd92353b
41 changed files with 379 additions and 435 deletions

View File

@@ -17,7 +17,7 @@ describe('ol.geom.Point', function() {
});
it('has the expected layout', function() {
expect(point.getLayout()).to.be(ol.geom.GeometryLayout.XY);
expect(point.getLayout()).to.be('XY');
});
it('has the expected coordinates', function() {
@@ -50,11 +50,11 @@ describe('ol.geom.Point', function() {
var point;
beforeEach(function() {
point = new ol.geom.Point([1, 2, 3], ol.geom.GeometryLayout.XYM);
point = new ol.geom.Point([1, 2, 3], 'XYM');
});
it('has the expected layout', function() {
expect(point.getLayout()).to.be(ol.geom.GeometryLayout.XYM);
expect(point.getLayout()).to.be('XYM');
});
it('has the expected coordinates', function() {
@@ -91,7 +91,7 @@ describe('ol.geom.Point', function() {
});
it('has the expected layout', function() {
expect(point.getLayout()).to.be(ol.geom.GeometryLayout.XYZM);
expect(point.getLayout()).to.be('XYZM');
});
it('has the expected coordinates', function() {
@@ -194,5 +194,4 @@ describe('ol.geom.Point', function() {
goog.require('ol.extent');
goog.require('ol.geom.GeometryLayout');
goog.require('ol.geom.Point');