Not make sense write unit test for routes in Ember, it is better to cover this part with acceptance…
Michael Villander
1

Yeah, you can definitely write more tests, and in particular this example that I wrote, using acceptance tests, but they run much slower than unit tests. Also, for this particular example, we’re testing the properties within our routes, so it makes more sense to test it using unit tests.

You can try writing the acceptance test yourself and compare the results.

This post was just to show how one can write unit tests for routes. Unit tests are just one of three ways you can write tests for your app.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.