diff options
Diffstat (limited to 'docs/spec/collectSpec.js')
| -rw-r--r-- | docs/spec/collectSpec.js | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/docs/spec/collectSpec.js b/docs/spec/collectSpec.js index 9de08dc8..6f82ec3d 100644 --- a/docs/spec/collectSpec.js +++ b/docs/spec/collectSpec.js @@ -182,21 +182,27 @@ describe('collect', function(){ }); }); - describe('@describe', function(){ + describe('@description', function(){ it('should support pre blocks', function(){ TAG.description(doc, 'description', '<pre>abc</pre>'); expect(doc.description).toEqual('<div ng:non-bindable><pre class="brush: js; html-script: true; toolbar: false;">abc</pre></div>'); }); - - describe('@example', function(){ - it('should not remove {{}}', function(){ - TAG.example(doc, 'example', 'text {{ abc }}'); - expect(doc.example).toEqual('text {{ abc }}'); - }); - + }); + + describe('@example', function(){ + it('should not remove {{}}', function(){ + TAG.example(doc, 'example', 'text {{ abc }}'); + expect(doc.example).toEqual('text {{ abc }}'); }); }); + describe('@deprecated', function() { + it('should parse @deprecated', function() { + TAG.deprecated(doc, 'deprecated', 'Replaced with foo.'); + expect(doc.deprecated).toBe('Replaced with foo.'); + }) + }); + }); describe('trim', function(){ |
