diff --git a/spec/core/matchers/toHaveSpyInteractionsSpec.js b/spec/core/matchers/toHaveSpyInteractionsSpec.js index 2e1bfaff..1fdfb562 100755 --- a/spec/core/matchers/toHaveSpyInteractionsSpec.js +++ b/spec/core/matchers/toHaveSpyInteractionsSpec.js @@ -36,7 +36,7 @@ describe('toHaveSpyInteractions', function() { let spyObj = jasmineUnderTest.getEnv().createSpyObj('NewClass', ['spyA', 'spyB']); expect(function() { - expect(true).toHaveSpyInteractions(); + expect(testValue).toHaveSpyInteractions(); }).toThrowError(Error, /Expected a spy object, but got/); }); });