Fixed some specs that were not referring to the correct instance of Jasmine
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
describe("toEqual", function() {
|
||||
it("delegates to equals function", function() {
|
||||
var util = {
|
||||
equals: j$.createSpy('delegated-equals').andReturn(true)
|
||||
equals: jasmine.createSpy('delegated-equals').andReturn(true)
|
||||
},
|
||||
matcher = j$.matchers.toEqual(util),
|
||||
result;
|
||||
@@ -14,7 +14,7 @@ describe("toEqual", function() {
|
||||
|
||||
it("delegates custom equality testers, if present", function() {
|
||||
var util = {
|
||||
equals: j$.createSpy('delegated-equals').andReturn(true)
|
||||
equals: jasmine.createSpy('delegated-equals').andReturn(true)
|
||||
},
|
||||
customEqualityTesters = ['a', 'b'],
|
||||
matcher = j$.matchers.toEqual(util, customEqualityTesters),
|
||||
|
||||
Reference in New Issue
Block a user