Update qunit-extras and backbone test to work with QUnit 1.16.0.

This commit is contained in:
John-David Dalton
2014-12-14 23:31:38 -08:00
parent c2d2fa2579
commit 316ae0c785
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@
"dojo": "~1.10.2",
"jquery": "~1.11.1",
"platform": "~1.3.0",
"qunit-extras": "~1.3.0",
"qunit-extras": "~1.4.0",
"qunitjs": "~1.16.0",
"requirejs": "~2.1.15"
},

View File

@@ -9,7 +9,7 @@
var replaceState = history.replaceState;
QUnit.testStart(function() {
var env = this.config.current.testEnvironment;
var env = QUnit.config.current.testEnvironment;
// We never want to actually call these during tests.
history.pushState = history.replaceState = function(){};