Unit tests bugfix
This commit is contained in:
parent
6ec305ea9f
commit
ae16c14e84
@ -9,7 +9,7 @@ describe('Sidebar module', function () {
|
||||
it('should be defined', inject(function ($controller) {
|
||||
var scope, ctrl;
|
||||
scope = {};
|
||||
ctrl = $controller('NavBarCtrl', { $scope : scope });
|
||||
ctrl = $controller('SideBarCtrl', { $scope : scope });
|
||||
|
||||
expect(ctrl).toBeDefined();
|
||||
}));
|
||||
|
@ -9,7 +9,7 @@ describe('Current Health tactical submodule', function () {
|
||||
it('should be defined', inject(function ($controller) {
|
||||
var scope, ctrl;
|
||||
scope = {};
|
||||
ctrl = $controller('NavBarCtrl', { $scope : scope });
|
||||
ctrl = $controller('TacticalCurrentHealth', { $scope : scope });
|
||||
|
||||
expect(ctrl).toBeDefined();
|
||||
}));
|
||||
|
@ -9,7 +9,7 @@ describe('Status Overview tactical submodule', function () {
|
||||
it('should be defined', inject(function ($controller) {
|
||||
var scope, ctrl;
|
||||
scope = {};
|
||||
ctrl = $controller('NavBarCtrl', { $scope : scope });
|
||||
ctrl = $controller('TacticalStatusOverViewCtrl', { $scope : scope });
|
||||
|
||||
expect(ctrl).toBeDefined();
|
||||
}));
|
||||
|
@ -9,7 +9,7 @@ describe('Tactical module', function () {
|
||||
it('should be defined', inject(function ($controller) {
|
||||
var scope, ctrl;
|
||||
scope = {};
|
||||
ctrl = $controller('NavBarCtrl', { $scope : scope });
|
||||
ctrl = $controller('TacticalCtrl', { $scope : scope });
|
||||
|
||||
expect(ctrl).toBeDefined();
|
||||
}));
|
||||
|
@ -9,7 +9,7 @@ describe('Top Alert Producer tactical submodule', function () {
|
||||
it('should be defined', inject(function ($controller) {
|
||||
var scope, ctrl;
|
||||
scope = {};
|
||||
ctrl = $controller('NavBarCtrl', { $scope : scope });
|
||||
ctrl = $controller('TacticalTopAlertProducers', { $scope : scope });
|
||||
|
||||
expect(ctrl).toBeDefined();
|
||||
}));
|
||||
|
Loading…
x
Reference in New Issue
Block a user