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