aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/data/testrunner.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/data/testrunner.js b/test/data/testrunner.js
index bdb938c40..0113ae5c8 100644
--- a/test/data/testrunner.js
+++ b/test/data/testrunner.js
@@ -81,6 +81,7 @@ function runTest() {
_config.blocking = false;
var time = new Date();
_config.fixture = document.getElementById('main').innerHTML;
+ _config.ajaxSettings = $.ajaxSettings;
synchronize(function() {
time = new Date() - time;
$("<div>").html(['<p class="result">Tests completed in ',
@@ -185,6 +186,7 @@ function expect(asserts) {
function reset() {
$("#main").html( _config.fixture );
$.event.global = {};
+ $.ajaxSettings = $.extend({}, _config.ajaxSettings);
}
/**