From 88a3f0a3452dc2fdc66ad3efe22f96a58e130d8c Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Sat, 21 May 2011 20:32:41 +0200 Subject: [PATCH] Add failing Symbol test. --- test/tests/PlacedSymbol.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/tests/PlacedSymbol.js b/test/tests/PlacedSymbol.js index aa356fce..795dfbc0 100644 --- a/test/tests/PlacedSymbol.js +++ b/test/tests/PlacedSymbol.js @@ -26,3 +26,12 @@ test('placedSymbol bounds', function() { { x: -42.04736, y: -37.91846, width: 84.09473, height: 75.83691 }, 'Bounds after rotation.'); }); + +test('Symbol definition selection', function() { + var path = new Path.Circle([50, 50], 50); + path.selected = true; + var symbol = new Symbol(path); + equals(function() { + return symbol.definition.selected = false; + }, true); +}); \ No newline at end of file