Fix Item#type tests, by adapting to new camel-cased version.

This commit is contained in:
Jürg Lehni 2013-03-03 14:22:31 -08:00
parent 7eb9df61b3
commit 3856302282

View file

@ -536,14 +536,14 @@ test('Cloning a linked size', function() {
});
test('Item#type', function() {
equals(new Group().type, 'group');
equals(new Path().type, 'path');
equals(new CompoundPath().type, 'compoundpath');
equals(new Group().type, 'Group');
equals(new Path().type, 'Path');
equals(new CompoundPath().type, 'CompoundPath');
var canvas = document.createElement('canvas');
equals(new Raster(canvas).type, 'raster');
equals(new PlacedSymbol().type, 'placedsymbol');
equals(new PointText().type, 'pointtext');
equals(new Raster(canvas).type, 'Raster');
equals(new PlacedSymbol().type, 'PlacedSymbol');
equals(new PointText().type, 'PointText');
});
test('Item#isInserted', function() {