diff --git a/test/javascripts/helpers/qunit_helpers.js b/test/javascripts/helpers/qunit_helpers.js index 5254c24ae56..be6e4222550 100644 --- a/test/javascripts/helpers/qunit_helpers.js +++ b/test/javascripts/helpers/qunit_helpers.js @@ -25,12 +25,10 @@ function controllerFor(controller, model) { } function asyncTestDiscourse(text, func) { - asyncTest(text, function () { - - var qunitContext = this; + var self = this; Ember.run(function () { - func.call(qunitContext); + func.call(self); }); }); } \ No newline at end of file