diff options
| author | Igor Minar | 2011-01-04 11:53:23 -0800 | 
|---|---|---|
| committer | Igor Minar | 2011-01-04 18:04:00 -0800 | 
| commit | b2631f61709ae71bb29ec6f1353f2a3c1ad33cd3 (patch) | |
| tree | 4c955af5f726d29e2d6004d39403d0843f37711e /test/AngularSpec.js | |
| parent | 1430c6d6b1f4edf11b1bd877e8907ac8ab0be923 (diff) | |
| download | angular.js-b2631f61709ae71bb29ec6f1353f2a3c1ad33cd3.tar.bz2 | |
rename scope.$inject to scope.$service
see changelog diff for more info
Diffstat (limited to 'test/AngularSpec.js')
| -rw-r--r-- | test/AngularSpec.js | 2 | 
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() { | 
