diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index a3320b56..acbf610f 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -2287,7 +2287,7 @@ getJasmineRequireObj().AsyncExpectation = function(j$) { }; /** - * Expect a promise to be rejected to a value equal to the expected, using deep equality comparison. + * Expect a promise to be rejected with a value equal to the expected, using deep equality comparison. * @function * @async * @name async-matchers#toBeRejectedWith diff --git a/src/core/AsyncExpectation.js b/src/core/AsyncExpectation.js index 4b9e7ef0..e2d7d47f 100644 --- a/src/core/AsyncExpectation.js +++ b/src/core/AsyncExpectation.js @@ -141,7 +141,7 @@ getJasmineRequireObj().AsyncExpectation = function(j$) { }; /** - * Expect a promise to be rejected to a value equal to the expected, using deep equality comparison. + * Expect a promise to be rejected with a value equal to the expected, using deep equality comparison. * @function * @async * @name async-matchers#toBeRejectedWith