diff options
| author | Misko Hevery | 2011-09-08 13:56:29 -0700 | 
|---|---|---|
| committer | Igor Minar | 2011-10-11 11:01:45 -0700 | 
| commit | 4f78fd692c0ec51241476e6be9a4df06cd62fdd6 (patch) | |
| tree | 91f70bb89b9c095126fbc093f51cedbac5cb0c78 /docs/spec/ngdocSpec.js | |
| parent | df6d2ba3266de405ad6c2f270f24569355706e76 (diff) | |
| download | angular.js-4f78fd692c0ec51241476e6be9a4df06cd62fdd6.tar.bz2 | |
feat(forms): new and improved forms
Diffstat (limited to 'docs/spec/ngdocSpec.js')
| -rw-r--r-- | docs/spec/ngdocSpec.js | 36 | 
1 files changed, 2 insertions, 34 deletions
diff --git a/docs/spec/ngdocSpec.js b/docs/spec/ngdocSpec.js index 106fd22b..2afcc3d4 100644 --- a/docs/spec/ngdocSpec.js +++ b/docs/spec/ngdocSpec.js @@ -194,12 +194,12 @@ describe('ngdoc', function(){      it('should ignore nested doc widgets', function() {        expect(new Doc().markdown(          'before<doc:tutorial-instructions>\n' + -          '<doc:tutorial-instruction id="git-mac" name="Git on Mac/Linux">' + +          '<doc:tutorial-instruction id="git-mac" ng:model="Git on Mac/Linux">' +            '\ngit bla bla\n</doc:tutorial-instruction>\n' +          '</doc:tutorial-instructions>')).toEqual(          '<p>before</p><doc:tutorial-instructions>\n' + -          '<doc:tutorial-instruction id="git-mac" name="Git on Mac/Linux">\n' + +          '<doc:tutorial-instruction id="git-mac" ng:model="Git on Mac/Linux">\n' +            'git bla bla\n' +            '</doc:tutorial-instruction>\n' +          '</doc:tutorial-instructions>'); @@ -543,38 +543,6 @@ describe('ngdoc', function(){        });      }); -    describe('validator', function(){ -      it('should format', function(){ -        var doc = new Doc({ -          ngdoc:'validator', -          shortName:'myValidator', -          param: [ -            {name:'a'}, -            {name:'b'} -          ] -        }); -        doc.html_usage_validator(dom); -        expect(dom).toContain('ng:validate="myValidator:b"'); -        expect(dom).toContain('angular.validator.myValidator(a, b)'); -      }); -    }); - -    describe('formatter', function(){ -      it('should format', function(){ -        var doc = new Doc({ -          ngdoc:'formatter', -          shortName:'myFormatter', -          param: [ -            {name:'a'}, -          ] -        }); -        doc.html_usage_formatter(dom); -        expect(dom).toContain('ng:format="myFormatter:a"'); -        expect(dom).toContain('var userInputString = angular.formatter.myFormatter.format(modelValue, a);'); -        expect(dom).toContain('var modelValue = angular.formatter.myFormatter.parse(userInputString, a);'); -      }); -    }); -      describe('property', function(){        it('should format', function(){          var doc = new Doc({  | 
