Unit tests bugfix

This commit is contained in:
Frédéric Vachon 2015-01-16 11:18:32 -05:00
parent 6ec305ea9f
commit ae16c14e84
5 changed files with 5 additions and 5 deletions

View File

@ -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();
}));

View File

@ -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();
}));

View File

@ -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();
}));

View File

@ -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();
}));

View File

@ -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();
}));