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