emberjs/ember.js — pull request #9820 by machty (2014-12-05 16:31:14+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