diff --git a/lib/jasmine.js b/lib/jasmine.js index 39d74abf..79be7472 100644 --- a/lib/jasmine.js +++ b/lib/jasmine.js @@ -1683,7 +1683,7 @@ jasmine.Spec.prototype.waitsFor = function(timeout, latchFunction, message) { return this; }; -jasmine.Spec.prototype.getMatchersClass_ = function(matcherPrototype) { +jasmine.Spec.prototype.getMatchersClass_ = function() { return this.matchersClass || jasmine.Matchers; }; diff --git a/src/Spec.js b/src/Spec.js index d5666609..3138da0b 100644 --- a/src/Spec.js +++ b/src/Spec.js @@ -81,7 +81,7 @@ jasmine.Spec.prototype.waitsFor = function(timeout, latchFunction, message) { return this; }; -jasmine.Spec.prototype.getMatchersClass_ = function(matcherPrototype) { +jasmine.Spec.prototype.getMatchersClass_ = function() { return this.matchersClass || jasmine.Matchers; };