diff options
| author | Misko Hevery | 2011-11-02 16:32:46 -0700 | 
|---|---|---|
| committer | Misko Hevery | 2011-11-14 16:39:33 -0800 | 
| commit | bd04316a89a0909e7a4e483839d573ce857f7622 (patch) | |
| tree | 0378c33976ba524b7090a3665cd7729638f1545e /test/AngularSpec.js | |
| parent | ed36b9da3be338fe9eb36f3eeea901d6f51cd768 (diff) | |
| download | angular.js-bd04316a89a0909e7a4e483839d573ce857f7622.tar.bz2 | |
refactor(services): migrate angular.service -> module
Diffstat (limited to 'test/AngularSpec.js')
| -rw-r--r-- | test/AngularSpec.js | 19 | 
1 files changed, 0 insertions, 19 deletions
| diff --git a/test/AngularSpec.js b/test/AngularSpec.js index 8902c2a9..6229120d 100644 --- a/test/AngularSpec.js +++ b/test/AngularSpec.js @@ -382,25 +382,6 @@ describe('angular', function() {        expect(fake).toEqual('new');      })); -    it('should not preserve properties on override', function() { -      angular.service('fake', {$one: true}, {$two: true}, {three: true}); -      var result = angular.service('fake', {$four: true}); - -      expect(result.$one).toBeUndefined(); -      expect(result.$two).toBeUndefined(); -      expect(result.three).toBeUndefined(); -      expect(result.$four).toBe(true); -    }); - -    it('should not preserve non-angular properties on override', function() { -      angular.service('fake', {one: true}, {two: true}); -      var result = angular.service('fake', {third: true}); - -      expect(result.one).not.toBeDefined(); -      expect(result.two).not.toBeDefined(); -      expect(result.third).toBeTruthy(); -    }); -      it('should inject dependencies specified by $inject and ignore function argument name', function() {        expect(angular.injector(function($provide){          $provide.factory('svc1', function() { return 'svc1'; }); | 
