diff options
| author | Misko Hevery | 2011-12-14 02:55:31 +0100 | 
|---|---|---|
| committer | Misko Hevery | 2012-01-25 11:53:59 -0800 | 
| commit | 4804c83b7db5770d5d02eea9eea4cc012b4aa524 (patch) | |
| tree | be5ae1743179704cc1638f186cddba8d6e3fa37d /docs/spec/ngdocSpec.js | |
| parent | e2b1d9e994e50bcd01d237302a3357bc7ebb6fa5 (diff) | |
| download | angular.js-4804c83b7db5770d5d02eea9eea4cc012b4aa524.tar.bz2 | |
docs(compiler): update the compiler docs
Diffstat (limited to 'docs/spec/ngdocSpec.js')
| -rw-r--r-- | docs/spec/ngdocSpec.js | 11 | 
1 files changed, 5 insertions, 6 deletions
| diff --git a/docs/spec/ngdocSpec.js b/docs/spec/ngdocSpec.js index 8f109e92..c6f17628 100644 --- a/docs/spec/ngdocSpec.js +++ b/docs/spec/ngdocSpec.js @@ -154,13 +154,12 @@ describe('ngdoc', function() {            };          } -        var angular_widget = doc('overview', 'angular.widget'); -        var angular_x = doc('function', 'angular.x'); -        var angular_y = doc('property', 'angular.y'); +        var dev_guide_overview = doc('overview', 'dev_guide.overview'); +        var dev_guide_bootstrap = doc('function', 'dev_guide.bootstrap'); -        it('should put angular.fn() in front of angular.widget, etc', function() { -          expect(ngdoc.metadata([angular_widget, angular_y, angular_x]).map(property('id'))) -            .toEqual(['angular.x', 'angular.y', 'angular.widget' ]); +        it('should put angular.fn() in front of dev_guide.overview, etc', function() { +          expect(ngdoc.metadata([dev_guide_overview, dev_guide_bootstrap]).map(property('id'))) +            .toEqual(['dev_guide.overview', 'dev_guide.bootstrap']);          });        });      }); | 
