aboutsummaryrefslogtreecommitdiffstats
path: root/test/AngularSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/AngularSpec.js')
-rw-r--r--test/AngularSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/AngularSpec.js b/test/AngularSpec.js
index f5a202fe..6f943af8 100644
--- a/test/AngularSpec.js
+++ b/test/AngularSpec.js
@@ -322,7 +322,7 @@ describe('angular service', function() {
angular.service('fake', function() { return 'old'; });
angular.service('fake', function() { return 'new'; });
- expect(scope.$inject('fake')).toEqual('new');
+ expect(scope.$service('fake')).toEqual('new');
});
it('should preserve $ properties on override', function() {