Support 404 routes in the Ember App

This commit is contained in:
Robin Ward
2014-04-29 15:17:40 -04:00
parent f61f29439e
commit f50039b48b
8 changed files with 54 additions and 26 deletions

View File

@ -79,11 +79,7 @@ Discourse.setupForTesting();
Discourse.injectTestHelpers();
Discourse.runInitializers();
Discourse.start();
Discourse.Router.map(function() {
Discourse.routeBuilder.call(this);
});
Discourse.Route.mapRoutes();
QUnit.testStart(function() {
// Allow our tests to change site settings and have them reset before the next test