diff --git a/docs/spec/collectSpec.js b/docs/spec/collectSpec.js index f6b5a319..2261b7a0 100644 --- a/docs/spec/collectSpec.js +++ b/docs/spec/collectSpec.js @@ -208,6 +208,12 @@ describe('collect', function(){ '

dadangular.foo

\n\n' + '

ng:foo

'); }); + + it('should increment all headings by one', function() { + TAG.description(doc, 'description', '# foo\nabc'); + expect(doc.description). + toBe('

foo

\n\n

abc

'); + }); }); describe('@example', function(){