diff options
Diffstat (limited to 'docs/spec/collectSpec.js')
| -rw-r--r-- | docs/spec/collectSpec.js | 6 |
1 files changed, 6 insertions, 0 deletions
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(){ '<p>dad<a href="#!angular.foo"><code>angular.foo</code></a></p>\n\n' + '<p><a href="#!angular.directive.ng:foo"><code>ng:foo</code></a></p>'); }); + + it('should increment all headings by one', function() { + TAG.description(doc, 'description', '# foo\nabc'); + expect(doc.description). + toBe('<h2>foo</h2>\n\n<p>abc</p>'); + }); }); describe('@example', function(){ |
