document.write('<div id="ember-testing-container" class="container"><div id="ember-testing"></div></div>');

Ember.testing = true;

var App = requireModule('appkit/app');

App.rootElement = '#ember-testing';

function exists(selector) {
  return !!find(selector).length;
}

function equal(actual, expected, message) {
  message = message || QUnit.jsDump.parse(expected) + " expected but was " + QUnit.jsDump.parse(actual);
  QUnit.equal.call(this, expected, actual, message);
}

window.exists = exists;
window.equal = equal;

Ember.Container.prototype.stub = function(fullName, instance) {
  instance.destroy = instance.destroy || function() {};
  this.cache.dict[fullName] = instance;
};

// https://github.com/stefanpenner/ember-app-kit/pull/80
Ember.Test.registerHelper('routeFor', function(app, routeName) {
  return app.__container__.lookup('route:' + routeName);
});

App.setupForTesting();
App.injectTestHelpers();

@@ -683,16 +683,146 @@
 ce;%0A%7D;%0A%0A
+Ember.Test.registerHelper('currentPath', function(app, routeName) %7B%0A  return controllerFor('application').get('currentPath')%0A%7D);%0A%0A
 // https
@@ -993,24 +993,173 @@
 Name);%0A%7D);%0A%0A
+Ember.Test.registerHelper('controllerFor', function(app, controllerName) %7B%0A    return app.__container__.lookup('controller:' + controllerName);%0A%7D);%0A%0A
 App.setupFor

Add test helpers