diff options
| author | Vojta Jina | 2013-08-20 14:41:27 -0700 |
|---|---|---|
| committer | Vojta Jina | 2013-08-23 12:43:42 -0700 |
| commit | b89a4e49b922894f93d5cc69e00016f157dee625 (patch) | |
| tree | f2c1fdc470b686d4faaa18a11449bdba4f361fbc /test/ngMock/angular-mocksSpec.js | |
| parent | eefcdad013b56d5d3a05c0b2137a5860091b2575 (diff) | |
| download | angular.js-b89a4e49b922894f93d5cc69e00016f157dee625.tar.bz2 | |
test: rename / remove duplicate unit tests
Diffstat (limited to 'test/ngMock/angular-mocksSpec.js')
| -rw-r--r-- | test/ngMock/angular-mocksSpec.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/ngMock/angular-mocksSpec.js b/test/ngMock/angular-mocksSpec.js index e1873535..13e08a68 100644 --- a/test/ngMock/angular-mocksSpec.js +++ b/test/ngMock/angular-mocksSpec.js @@ -168,7 +168,7 @@ describe('ngMock', function() { $log.reset(); })); - it("should skip debugging output if disabled", inject(function($log) { + it("should skip debugging output if disabled (" + debugEnabled + ")", inject(function($log) { $log.log('fake log'); $log.info('fake log'); $log.warn('fake log'); @@ -197,19 +197,19 @@ describe('ngMock', function() { $log.reset(); })); - it('should provide the debug method', function() { + it('should provide the log method', function() { expect(function() { $log.log(''); }).not.toThrow(); }); - it('should provide the debug method', function() { + it('should provide the info method', function() { expect(function() { $log.info(''); }).not.toThrow(); }); - it('should provide the debug method', function() { + it('should provide the warn method', function() { expect(function() { $log.warn(''); }).not.toThrow(); }); - it('should provide the debug method', function() { + it('should provide the error method', function() { expect(function() { $log.error(''); }).not.toThrow(); }); |
