Sitefinity/feather — pull request #27 by GeorgiMateev (2014-09-11 12:17:07+00:00)
Title: Run unit tests for directives with external templates with grunt

To be able to run Jasmine tests for directives that have an external template in a html file, we have to run the grunt task https://github.com/karlgoldstein/grunt-html2js. It saves all templates in a javascript file and registers them in the Angular's $templateCache service. In the client test we get the template from the cache instead of performing get request for a html file.