From 44b56093e732723aedc99db736853a36667772f7 Mon Sep 17 00:00:00 2001 From: Kevin Logan Date: Wed, 17 Feb 2016 12:16:54 -0600 Subject: [PATCH] #1048 - fixed toThrow expectation --- spec/core/matchers/toHaveBeenCalledTimesSpec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/core/matchers/toHaveBeenCalledTimesSpec.js b/spec/core/matchers/toHaveBeenCalledTimesSpec.js index 5d8618f0..6335c948 100644 --- a/spec/core/matchers/toHaveBeenCalledTimesSpec.js +++ b/spec/core/matchers/toHaveBeenCalledTimesSpec.js @@ -24,7 +24,7 @@ describe("toHaveBeenCalledTimes", function() { spy(); expect(function() { matcher.compare(spy); - }).toThrowError('Expected times failed is required as an argument.'); + }).toThrowError('The expected times failed is a required argument and must be a number.'); }); it("fails when the actual was called less than the expected", function() {