Browse Source

more tests for it block

refactor
Harish.K 10 years ago
parent
commit
be8268beea
  1. 7
      test/simple-mocha.spec.js

7
test/simple-mocha.spec.js

@ -38,7 +38,14 @@ describe( 'Simple before block + it s ', function(){
it( 'child describeBlock should parse it blocks', function(){
assert.equal( firsDescribeBlock.its.length, 2 );
firsDescribeBlock.its.forEach( function( itBlk ){
assert( itBlk );
assert( itBlk.description );
assert( itBlk.fn );
});
});
});
})

Loading…
Cancel
Save