diff options
Diffstat (limited to 'test/JsonSpec.js')
| -rw-r--r-- | test/JsonSpec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/JsonSpec.js b/test/JsonSpec.js index 4a160905..2067d88f 100644 --- a/test/JsonSpec.js +++ b/test/JsonSpec.js @@ -140,10 +140,10 @@ describe('json', function(){ var spy = this.spyOn(JSON, 'parse').andCallThrough(); expect(fromJson('{}')).toEqual({}); - expect(spy).wasNotCalled(); + expect(spy).not.toHaveBeenCalled(); expect(fromJson('{}', true)).toEqual({}); - expect(spy).wasCalled(); + expect(spy).toHaveBeenCalled(); }); |
