aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/dev_guide.services.testing_services.ngdoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/guide/dev_guide.services.testing_services.ngdoc')
-rw-r--r--docs/content/guide/dev_guide.services.testing_services.ngdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/guide/dev_guide.services.testing_services.ngdoc b/docs/content/guide/dev_guide.services.testing_services.ngdoc
index 1768b63d..f988c11b 100644
--- a/docs/content/guide/dev_guide.services.testing_services.ngdoc
+++ b/docs/content/guide/dev_guide.services.testing_services.ngdoc
@@ -11,7 +11,7 @@ var mock, notify;
beforeEach(function() {
mock = {alert: jasmine.createSpy()};
- notify = angular.service('notify')(mock);
+ notify = angular.module.NG('notify')(mock);
});
it('should not alert first two notifications', function() {
@@ -53,6 +53,6 @@ it('should clear messages after alert', function() {
## Related API
-* {@link api/angular.service Angular Service API}
+* {@link api/angular.module.NG Angular Service API}