Fix Item#type test.

This commit is contained in:
Jonathan Puckey 2013-03-03 20:14:13 +01:00
parent fa861f2047
commit ace98d689f

View file

@ -539,7 +539,9 @@ test('Item#type', function() {
equals(new Group().type, 'group');
equals(new Path().type, 'path');
equals(new CompoundPath().type, 'compoundpath');
equals(new Raster().type, 'raster');
var canvas = document.createElement('canvas');
equals(new Raster(canvas).type, 'raster');
equals(new PlacedSymbol().type, 'placedsymbol');
equals(new PointText().type, 'pointtext');
});