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

View File

@@ -22,7 +22,7 @@ describe("toThrow", function() {
it("passes if it throws but there is no expected", function() {
var util = {
equals: j$.createSpy('delegated-equal').andReturn(true)
equals: jasmine.createSpy('delegated-equal').andReturn(true)
},
matcher = j$.matchers.toThrow(util),
fn = function() {
@@ -50,7 +50,7 @@ describe("toThrow", function() {
it("passes if what is thrown is equivalent to what is expected", function() {
var util = {
equals: j$.createSpy('delegated-equal').andReturn(true)
equals: jasmine.createSpy('delegated-equal').andReturn(true)
},
matcher = j$.matchers.toThrow(util),
fn = function() {
@@ -66,7 +66,7 @@ describe("toThrow", function() {
it("fails if what is thrown is not equivalent to what is expected", function() {
var util = {
equals: j$.createSpy('delegated-equal').andReturn(false)
equals: jasmine.createSpy('delegated-equal').andReturn(false)
},
matcher = j$.matchers.toThrow(util),
fn = function() {
@@ -82,7 +82,7 @@ describe("toThrow", function() {
it("fails if what is thrown is not equivalent to undefined", function() {
var util = {
equals: j$.createSpy('delegated-equal').andReturn(false)
equals: jasmine.createSpy('delegated-equal').andReturn(false)
},
matcher = j$.matchers.toThrow(util),
fn = function() {