jonniespratley / angular-cms

A light weight CMS built with Angular 1.x and Yeoman. This is just a shell and a possibility of being broken
Other
335 stars 108 forks source link

Failing Unit tests #12

Closed cyrus-za closed 10 years ago

cyrus-za commented 10 years ago

I did a git clone, npm install, bower install and then grunt. Everything builds fine, but when it executes the karma tests via phantomJS I get the following:

PhantomJS 1.9.7 (Windows 8) Controller: AppCtrl should attach a list of awesomeThings to the scope FAILED TypeError: 'undefined' is not an object (evaluating 'scope.awesomeThings.length') at C:/Workspace/angular-cms/.tmp/spec/controllers/app.js:14 PhantomJS 1.9.7 (Windows 8) Service: cmsDataServiceProvider should do something FAILED Error: [$injector:unpr] Unknown provider: cmsDataServiceProviderProvider <- cmsDataServiceProvider http://errors.angularjs.org/1.2.10/$injector/unpr?p0=cmsDataServiceProviderProvider%20%3C-%20cmsDataServiceProvider at C:/Workspace/angular-cms/app/bower_components/angular/angular.js:3544 at getService (C:/Workspace/angular-cms/app/bower_components/angular/angular.js:3671) at C:/Workspace/angular-cms/app/bower_components/angular/angular.js:3549 at getService (C:/Workspace/angular-cms/app/bower_components/angular/angular.js:3671) at invoke (C:/Workspace/angular-cms/app/bower_components/angular/angular.js:3698) at workFn (C:/Workspace/angular-cms/app/bower_components/angular-mocks/angular-mocks.js:2149) undefined PhantomJS 1.9.7 (Windows 8): Executed 36 of 36 (2 FAILED) (0.161 secs / 0.139 secs) Warning: Task "karma:unit" failed. Use --force to continue.

jonniespratley commented 10 years ago

Duplicate bug