Fixed some specs that were not referring to the correct instance of Jasmine

This commit is contained in:
Davis W. Frank
2013-06-10 22:45:04 -07:00
parent e73b9e7902
commit 7ae3fa9fef
6 changed files with 27 additions and 27 deletions
+2 -2
View File
@@ -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);