more tests for it block

This commit is contained in:
2016-04-01 01:22:26 +05:30
parent 1871514d37
commit be8268beea
+7
View File
@@ -38,7 +38,14 @@ describe( 'Simple before block + it s ', function(){
it( 'child describeBlock should parse it blocks', function(){ it( 'child describeBlock should parse it blocks', function(){
assert.equal( firsDescribeBlock.its.length, 2 ); assert.equal( firsDescribeBlock.its.length, 2 );
firsDescribeBlock.its.forEach( function( itBlk ){
assert( itBlk );
assert( itBlk.description );
assert( itBlk.fn );
}); });
});
}); });
}) })