emberjs/ember.js — pull request #9904 by machty (2014-12-13 16:13:04+00:00)
Title: [BUGFIX beta] Route.send is unit testable

this.router doesn’t exist when unit testing Ember.Route, and hence .send
breaks all the time; this change allows you to unit test routes and their
actions even when this.router is absent.

/cc @rwjblue