chaplinjs/chaplin — pull request #548 by molily (2013-04-15 12:31:47+00:00)
Title: Clean up the Dispatcher spec.

The main change here is that we should test the component as a black box, not test how individual methods behave. The Dispatcher receives a `router:match` event and should start controller (before) action, that’s the thing to test. It’s a bit cumbersome to test because of the asynchronous loading, but it’s better than test for arbitrary implementation details.