aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/dev_guide.unit-testing.ngdoc
diff options
context:
space:
mode:
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 96758866..8b4d4687 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.module.NG.$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.module.NG.$filter('length', function(text){
+angular.module.ng.$filter('length', function(text){
return (''+(text||'')).length;
});
-var length = angular.module.NG.$filter('length');
+var length = angular.module.ng.$filter('length');
expect(length(null)).toEqual(0);
expect(length('abc')).toEqual(3);
</pre>