emberjs/ember.js — pull request #9964 by jayphelps (2014-12-18 01:09:33+00:00)
Title: [BUGFIX canary] AutoLocation test refactor to prevent #9956/#9958 from happening again

Usually, testing that some object has a reference to another object on definition is super overkill, but since we have to mock `window.location`/`window.history` in every single test, it makes it non-obvious if they go missing or aren't what we expect them to be. This refactors things so that [we can be sure](https://github.com/jayphelps/ember.js/compare/emberjs:master...jayphelps:autolocation-regress-prevent?expand=1#diff-2d3c7c1d89f938904ace33848006d6b9R392).

Might still be overkill.. If so, feel free to close.