tribute/tribute-web — pull request #1 by craigspaeth (2013-06-27 16:37:32+00:00)
Title: Silence mocha error message

If you need to debug your test environment you can run your server in test mode.

````
cake assets:fast
NODE_ENV=test coffee app.coffee
````

Doing this showed me that there was an error in the compiled templates.

![image](https://f.cloud.github.com/assets/555859/717167/19277b08-df46-11e2-8dc0-54a3049d40e8.png)

You were using a glob in your assets config that included *ALL THE TEMPLATES!*, which is no good because some of them are server-side only. Might be better to separate your templates into "server", "client", "shared" folders so you can safely glob down those.

However since you are using Ember, right now you are including handlebar templates in the DOM, and don't even need nap to package them for you.

![image](https://f.cloud.github.com/assets/555859/717204/290102aa-df47-11e2-8072-61dd477a8fa2.png)

Eventually you'll want to compile your templates server-side and Ember probably has their own tool for packaging templates that would take the place of nap in this case. @mixonic could chime in more on that one.