diff --git a/src/describe-block.js b/src/describe-block.js index 6863cbe..7d5c300 100644 --- a/src/describe-block.js +++ b/src/describe-block.js @@ -30,7 +30,7 @@ DescribeBlock.prototype.__defineGetter__( 'children', function(){ }); -DescribeBlock.prototype.__defineGetter__( 'children', function(){ +DescribeBlock.prototype.__defineGetter__( 'its', function(){ return this.tasks.filter( function( task ){ return task instanceof ItBlock; });