Assets service spec for testing lib loading

This commit is contained in:
perploug
2013-09-09 10:15:27 +01:00
parent b3c68d44f1
commit 3ba7fbd0e7
2 changed files with 29 additions and 30 deletions

View File

@@ -7,12 +7,10 @@ describe('keyboard service tests', function () {
$rootScope = $injector.get('$rootScope');
}));
describe('Loading js assets', function () {
it('Loads a javascript file', function () {
assetsService.loadJs("NamespaceManager.js").then(function(){
assetsService.loadJs("lib/umbraco/NamespaceManager.js").then(function(){
console.log("loaded");
});