generator-cg-angular
Version:
Yeoman Generator for Enterprise Angular projects.
19 lines (11 loc) • 356 B
JavaScript
describe('<%= ctrlname %>', function() {
beforeEach(module('<%= appname %>'));
var scope,ctrl;
beforeEach(inject(function($rootScope, $controller) {
scope = $rootScope.$new();
ctrl = $controller('<%= ctrlname %>', {$scope: scope});
}));
it('should ...', inject(function() {
expect(1).toEqual(1);
}));
});