From b89a4e49b922894f93d5cc69e00016f157dee625 Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Tue, 20 Aug 2013 14:41:27 -0700 Subject: test: rename / remove duplicate unit tests --- test/ngMock/angular-mocksSpec.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/ngMock/angular-mocksSpec.js') 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(); }); -- cgit v1.2.3