From 3856302282d9194cbdc8078ffae459cde0da11a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sun, 3 Mar 2013 14:22:31 -0800 Subject: [PATCH] Fix Item#type tests, by adapting to new camel-cased version. --- test/tests/Item.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/tests/Item.js b/test/tests/Item.js index c13a315c..bce28690 100644 --- a/test/tests/Item.js +++ b/test/tests/Item.js @@ -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() {