From 658fc4b2ff2e742a8c64d075ffd7a83e3f22bdd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Tue, 14 Jun 2011 15:37:46 +0100 Subject: [PATCH] Fix Path#selected tests. --- test/tests/Path.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/tests/Path.js b/test/tests/Path.js index 91cd636b..7316ca88 100644 --- a/test/tests/Path.js +++ b/test/tests/Path.js @@ -114,15 +114,15 @@ test('Is the path deselected after setting a new list of segments?', function() }, 0); }); -test('After setting Path#selected=true on an empty path, subsequent segments should be selected', function() { +test('After setting Path#fullySelected=true on an empty path, subsequent segments should be selected', function() { var path = new Path(); - path.selected = true; + path.fullySelected = true; equals(function() { - return path.selected; + return path.fullySelected; }, true); path.add([10, 10]); equals(function() { - return path.selected; + return path.fullySelected; }, true); equals(function() { return path.firstSegment.selected; @@ -137,7 +137,7 @@ test('Path#reverse', function() { test('Path#fullySelected', function() { var path = new Path.Circle([100, 100], 10); - path.selected = true; + path.fullySelected = true; path.segments[1].selected = false; equals(function() { return path.fullySelected;