We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a102a8 commit b620c9dCopy full SHA for b620c9d
route/templates/spec.js
@@ -1,15 +1,15 @@
1
'use strict';
2
3
-describe('Controller: <%= _.capitalize(_.camelize(name)) %>Ctrl', function () {
+describe('Controller: <%= controllerName %>', function () {
4
5
beforeEach(module('<%= _.camelize(appname) %>'));
6
7
- var MainCtrl,
+ var <%= controllerName %>,
8
scope;
9
10
beforeEach(inject(function ($controller, $rootScope) {
11
scope = $rootScope.$new();
12
- MainCtrl = $controller('<%= controllerName %>', {
+ <%= controllerName %> = $controller('<%= controllerName %>', {
13
$scope: scope
14
});
15
}));
0 commit comments