diff options
Diffstat (limited to 'test/angular-mocksSpec.js')
| -rw-r--r-- | test/angular-mocksSpec.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/angular-mocksSpec.js b/test/angular-mocksSpec.js index f24f6e57..bf5c7816 100644 --- a/test/angular-mocksSpec.js +++ b/test/angular-mocksSpec.js @@ -123,12 +123,6 @@ describe('mocks', function(){ }); - it('should fake toString method when a third param is passed in', function() { - var t = new TzDate(0, 0, 'Mon Sep 3 2010 17:05:08 GMT+0500 (XYZ)'); - expect(t.toString()).toBe('Mon Sep 3 2010 17:05:08 GMT+0500 (XYZ)'); - }); - - it('should throw error when no third param but toString called', function() { expect(function() { new TzDate(0,0).toString(); }). toThrow('Method \'toString\' is not implemented in the TzDate mock'); |
