Skip to content

Commit 72ad578

Browse files
atomfriedAwk34
authored andcommitted
fix(route): Fix broken $componentController call (#38)
1 parent 07cdeda commit 72ad578

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/route/name.controller.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ describe('Component: <%= classedName %>Component', function () {
99

1010
// Initialize the controller and a mock scope
1111
beforeEach(inject(function ($componentController) {
12-
<%= classedName %>Component = $componentController('<%= classedName %>Component', {});
12+
<%= classedName %>Component = $componentController('<%= name %>', {});
1313
}));
1414

1515
it('should ...', function () {<% if (hasFilter('jasmine')) { %>

0 commit comments

Comments
 (0)