Removed duplicate node rules from tests

These methods are wrappers for the model methods where the rules are actually being applied

Change-Id: I08be359010fa9fa81cd3a8aa5152083f92dc0b9c
This commit is contained in:
Trevor Parscal 2012-05-10 14:57:52 -07:00
parent 8d07a4e08c
commit 7168b4e041

View file

@ -7,12 +7,6 @@ ve.ce.LeafNodeStub = function( model ) {
ve.ce.LeafNode.call( this, 'leaf-stub', model );
};
ve.ce.LeafNodeStub.rules = {
'canHaveChildren': false,
'canHaveGrandchildren': false,
'isWrapped': true
};
ve.extendClass( ve.ce.LeafNodeStub, ve.ce.LeafNode );
ve.ce.factory.register( 'leaf-stub', ve.ce.LeafNodeStub );