Skip to content

Commit e2de4eb

Browse files
authored
Merge pull request #62 from canjs/landscaper/qunit2
Landscaper: QUnit2 upgrade
2 parents 739549b + 5ce8bac commit e2de4eb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

can-ajax-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ if(typeof XDomainRequest === 'undefined') {
322322
data: {'message': 'VALUE'},
323323
dataType: 'application/json'
324324
}).then(function(resp){
325-
QUnit.deepEqual(headers, {"Content-Type": "application/x-www-form-urlencoded"});
325+
assert.deepEqual(headers, {"Content-Type": "application/x-www-form-urlencoded"});
326326

327327
restore();
328328
done();

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"detect-cyclic-packages": "^1.1.0",
5454
"jshint": "^2.9.1",
5555
"steal": "^1.11.8",
56-
"steal-qunit": "^1.0.1",
56+
"steal-qunit": "^2.0.0",
5757
"steal-tools": "^1.11.9",
5858
"testee": "^0.9.0"
5959
}

test/qunit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if (isMochaQUnitUI) {
1818
QUnit.test = test;
1919
module.exports = QUnit;
2020
} else if (isQunit) {
21-
module.exports = require('qunitjs');
21+
module.exports = require('qunit');
2222
} else {
2323
module.exports = require('steal-qunit');
2424
}

0 commit comments

Comments
 (0)