We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 728f7e2 commit 9080d2cCopy full SHA for 9080d2c
src/ngMock/angular-mocks.js
@@ -1827,7 +1827,7 @@ angular.mock.$RootElementProvider = function() {
1827
*
1828
* describe('myDirectiveController', function() {
1829
* it('should write the bound name to the log', inject(function($controller, $log) {
1830
- * var ctrl = $controller('MyDirective', { /* no locals */ }, { name: 'Clark Kent' });
+ * var ctrl = $controller('MyDirectiveController', { /* no locals */ }, { name: 'Clark Kent' });
1831
* expect(ctrl.name).toEqual('Clark Kent');
1832
* expect($log.info.logs).toEqual(['Clark Kent']);
1833
* });
0 commit comments