From c1ec991aee6f96079d73c2a173358a99b0f44cef Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Fri, 22 Apr 2011 11:41:32 +0200 Subject: [PATCH] Item test: initialize paths with segments, so they can be selected. --- test/tests/item.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tests/item.js b/test/tests/item.js index 9d29ce03..f7191e4f 100644 --- a/test/tests/item.js +++ b/test/tests/item.js @@ -166,8 +166,8 @@ test('Check item#document when moving items across documents', function() { test('group.selected', function() { var doc = new Document(); - var path = new Path(); - var path2 = new Path(); + var path = new Path([0, 0]); + var path2 = new Path([0, 0]); var group = new Group([path, path2]); path.selected = true; equals(group.selected, true);