diff options
| author | Igor Minar | 2011-06-27 22:41:44 -0700 |
|---|---|---|
| committer | Igor Minar | 2011-06-27 22:41:49 -0700 |
| commit | d3fb5b411e979d0a4815c663c3489652fc5350f9 (patch) | |
| tree | caf35fc53932a64978f5ad3ca47fb1960360dba9 /test/InjectorSpec.js | |
| parent | 75bc59ee4bd4528849b2c64c9854f7dbe25b29df (diff) | |
| download | angular.js-d3fb5b411e979d0a4815c663c3489652fc5350f9.tar.bz2 | |
fix:tests: replace angular.annotate with annotate
forgot to fix tests in 6aee2938a71c99fdd35639725c6900347999f658
Diffstat (limited to 'test/InjectorSpec.js')
| -rw-r--r-- | test/InjectorSpec.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/InjectorSpec.js b/test/InjectorSpec.js index 8db854af..4bdb1008 100644 --- a/test/InjectorSpec.js +++ b/test/InjectorSpec.js @@ -127,13 +127,13 @@ describe('injector', function(){ describe('inject', function(){ it('should inject names', function(){ - expect(angular.annotate('a', {}).$inject).toEqual(['a']); - expect(angular.annotate('a', 'b', {}).$inject).toEqual(['a', 'b']); + expect(annotate('a', {}).$inject).toEqual(['a']); + expect(annotate('a', 'b', {}).$inject).toEqual(['a', 'b']); }); it('should inject array', function(){ - expect(angular.annotate(['a'], {}).$inject).toEqual(['a']); - expect(angular.annotate(['a', 'b'], {}).$inject).toEqual(['a', 'b']); + expect(annotate(['a'], {}).$inject).toEqual(['a']); + expect(annotate(['a', 'b'], {}).$inject).toEqual(['a', 'b']); }); }); }); |
