Add additional test for #name.

This commit is contained in:
Jürg Lehni 2011-05-15 18:53:22 +01:00
parent d12608c708
commit 441dc3641d

View file

@ -391,6 +391,10 @@ test('Setting name of child back to null', function() {
var path2 = new Path();
path2.name = 'test';
equals(function() {
return paper.document.activeLayer.children['test'] == path2;
}, true);
path2.name = null;
equals(function() {