aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/dev_guide.unit-testing.ngdoc
diff options
context:
space:
mode:
authorMisko Hevery2011-11-10 18:47:47 -0800
committerMisko Hevery2011-11-14 20:31:18 -0800
commitb09595a3c12ba761772084b94767b635c5bbfaf2 (patch)
treea86f45599ee86964ea2bd09e5c336280ef98a769 /docs/content/guide/dev_guide.unit-testing.ngdoc
parentf6d98f1472338a77b2f146087bcb8560f472e5d1 (diff)
downloadangular.js-b09595a3c12ba761772084b94767b635c5bbfaf2.tar.bz2
fix(doc) cleanup all api doc link warnings
Diffstat (limited to 'docs/content/guide/dev_guide.unit-testing.ngdoc')
-rw-r--r--docs/content/guide/dev_guide.unit-testing.ngdoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/guide/dev_guide.unit-testing.ngdoc b/docs/content/guide/dev_guide.unit-testing.ngdoc
index 4ca5473c..96758866 100644
--- a/docs/content/guide/dev_guide.unit-testing.ngdoc
+++ b/docs/content/guide/dev_guide.unit-testing.ngdoc
@@ -247,16 +247,16 @@ that such a test tells a story, rather then asserting random bits which don't se
## Filters
-{@link api/angular.filter Filters} are functions which transform the data into user readable
+{@link api/angular.module.NG.$filter Filters} are functions which transform the data into user readable
format. They are important because they remove the formatting responsibility from the application
logic, further simplifying the application logic.
<pre>
-angular.filter('length', function(text){
+angular.module.NG.$filter('length', function(text){
return (''+(text||'')).length;
});
-var length = angular.filter('length');
+var length = angular.module.NG.$filter('length');
expect(length(null)).toEqual(0);
expect(length('abc')).toEqual(3);
</pre>