
New ember-testing additions can be plugged into qunit without any changes, so the easiest way to start using it is to rewrite our tests to qunit.
60 lines
1.9 KiB
HTML
60 lines
1.9 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta rel="travis.api_endpoint" href="">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Travis CI - Free Hosted Continuous Integration Platform for the Open Source Community</title>
|
|
<link rel="icon" type="image/png" href="/favicon.ico">
|
|
|
|
<link rel="stylesheet" href="/styles/app.css">
|
|
<link rel="stylesheet" href="/styles/qunit.css">
|
|
<link rel="stylesheet" href="/styles/qunit-ext.css">
|
|
</head>
|
|
<body>
|
|
<div id="qunit"></div>
|
|
<div id="qunit-fixture"></div>
|
|
<script>
|
|
window.testMode = true;
|
|
|
|
if (!Function.prototype.bind) {
|
|
Function.prototype.bind = function (oThis) {
|
|
if (typeof this !== "function") {
|
|
// closest thing possible to the ECMAScript 5 internal IsCallable function
|
|
throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");
|
|
}
|
|
|
|
var aArgs = Array.prototype.slice.call(arguments, 1),
|
|
fToBind = this,
|
|
fNOP = function () {},
|
|
fBound = function () {
|
|
return fToBind.apply(this instanceof fNOP && oThis
|
|
? this
|
|
: oThis,
|
|
aArgs.concat(Array.prototype.slice.call(arguments)));
|
|
};
|
|
|
|
fNOP.prototype = this.prototype;
|
|
fBound.prototype = new fNOP();
|
|
|
|
return fBound;
|
|
};
|
|
}
|
|
|
|
window.history.state = {};
|
|
|
|
var oldPushState = window.history.pushState;
|
|
|
|
window.history.pushState = function(state, title, href) {
|
|
window.history.state = state;
|
|
return oldPushState.apply(this, arguments);
|
|
};
|
|
</script>
|
|
<script src="/scripts/app.js"></script>
|
|
<script>
|
|
minispade.require('travis');
|
|
</script>
|
|
<script src="/scripts/specs.js"></script>
|
|
</body>
|
|
</html>
|