We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99b1ed9 commit 009dd14Copy full SHA for 009dd14
test/unit/controllersSpec.js
@@ -6,11 +6,15 @@ describe('controllers', function(){
6
beforeEach(module('myApp.controllers'));
7
8
9
- it('should ....', inject(function() {
+ it('should ....', inject(function($controller) {
10
//spec body
11
+ var myCtrl1 = $controller('MyCtrl1');
12
+ expect(myCtrl1).toBeDefined();
13
}));
14
15
16
17
+ var myCtrl2 = $controller('MyCtrl2');
18
+ expect(myCtrl2).toBeDefined();
19
20
});
0 commit comments