From fc7f11d03b4380866033c38eb7649cdc5be93d9a Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Thu, 18 Nov 2010 16:28:42 -0800 Subject: add @workInProgress tag and mark all @ngdocs as work in progress --- docs/spec/collectSpec.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs/spec') diff --git a/docs/spec/collectSpec.js b/docs/spec/collectSpec.js index 2261b7a0..8002e0d6 100644 --- a/docs/spec/collectSpec.js +++ b/docs/spec/collectSpec.js @@ -230,6 +230,18 @@ describe('collect', function(){ }) }); + describe('@workInProgress', function() { + it('should parse @workInProgress without a description and default to true', function() { + TAG.workInProgress(doc, 'workInProgress', ''); + expect(doc.workInProgress).toEqual({description: ''}); + }); + + it('should parse @workInProgress with a description', function() { + TAG.workInProgress(doc, 'workInProgress', 'my description'); + expect(doc.workInProgress).toEqual({description: '
my description
'}); + }); + }); + }); describe('trim', function(){ -- cgit v1.2.3