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

@@ -32,7 +32,7 @@ describe('ol.source.TileJSON', function() {
describe('#getState', function() {
it('returns ol.source.State.ERROR on HTTP 404', function() {
it('returns error on HTTP 404', function() {
var source = new ol.source.TileJSON({
url: 'invalid.jsonp'
});
@@ -42,7 +42,7 @@ describe('ol.source.TileJSON', function() {
});
});
it('returns ol.source.State.ERROR on CORS issues', function() {
it('returns error on CORS issues', function() {
var source = new ol.source.TileJSON({
url: 'http://example.com'
});
@@ -52,7 +52,7 @@ describe('ol.source.TileJSON', function() {
});
});
it('returns ol.source.State.ERROR on JSON parsing issues', function() {
it('returns error on JSON parsing issues', function() {
var source = new ol.source.TileJSON({
url: '/'
});
@@ -122,7 +122,6 @@ describe('ol.source.TileJSON', function() {
});
goog.require('ol.events');
goog.require('ol.source.State');
goog.require('ol.source.Source');
goog.require('ol.source.TileJSON');
goog.require('ol.Observable');