Item test: initialize paths with segments, so they can be selected.

This commit is contained in:
Jonathan Puckey 2011-04-22 11:41:32 +02:00
parent c9898ef3b0
commit c1ec991aee

View file

@ -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);