Referencing a nested route using moduleFor in an ember test


i have a nested route which is defined in my router map as {
    this.resource('account', function () {

i want to refer to this sign-up route in my unit tests, but i keep getting a route undefined error. i am using q-unit provided by ember-cli. my test resides in


and the test looks like:

import { test, moduleFor } from 'ember-qunit';

moduleFor('route:account/sign-up', 'Account/signupRoute', {

test('it exists', function() {
    var route = this.subject();

i keep getting this error when running tests:

Setup failed on it exists: Attempting to register an unknown factory: `route:account/sign-up`

anyone know how to refer to a nested route using moduleFor?