Fix test
This commit is contained in:
@@ -15,7 +15,8 @@ describe("toHaveBeenCalledOnceWith", function () {
|
|||||||
|
|
||||||
it("passes through the custom equality testers", function () {
|
it("passes through the custom equality testers", function () {
|
||||||
var util = {
|
var util = {
|
||||||
contains: jasmine.createSpy('delegated-contains').and.returnValue(false)
|
contains: jasmine.createSpy('delegated-contains').and.returnValue(false),
|
||||||
|
equals: jasmineUnderTest.matchersUtil.equals
|
||||||
},
|
},
|
||||||
customEqualityTesters = [function () { return true; }],
|
customEqualityTesters = [function () { return true; }],
|
||||||
matcher = jasmineUnderTest.matchers.toHaveBeenCalledOnceWith(util, customEqualityTesters),
|
matcher = jasmineUnderTest.matchers.toHaveBeenCalledOnceWith(util, customEqualityTesters),
|
||||||
|
|||||||
Reference in New Issue
Block a user