--- /dev/null
+'use strict';
+
+beforeEach(module('AlloWebadminApp'));
+
+describe('Appliance Controllers', function() {
+
+ var $controller, $routeParams, $http, $scope = {}, applianceCtrl, allo_server_url;
+
+ describe('Appliance Detail Controller', function() {
+
+ beforeEach(inject(function($injector) {
+ $controller = $injector.get('$controller');
+ $routeParams = $injector.get('$routeParams');
+ $http = $injector.get('$http');
+ allo_server_url = $injector.get('allo_server_url');
+ applianceCtrl = $controller('ApplianceDetailCtrl', { $scope: $scope, $routeParams: $routeParams, $http: $http });
+ }));
+
+ it('should exist', function() {
+ expect(applianceCtrl).toBeDefined();
+ });
+
+ it('should have gotten an object as response', function() {
+ expect(typeof $scope.applianceChangelog).toBe('object');
+ });
+ });
+
+ describe('Appliance Group By Product Controller', function() {
+
+ beforeEach(inject(function($injector) {
+ $controller = $injector.get('$controller');
+ $routeParams = $injector.get('$routeParams');
+ $http = $injector.get('$http');
+ allo_server_url = $injector.get('allo_server_url');
+ applianceCtrl = $controller('ApplianceGroupByProductCtrl', { $scope: $scope, $routeParams: $routeParams, $http: $http });
+ }));
+
+ it('should exist', function() {
+ expect(applianceCtrl).toBeDefined();
+ });
+
+ it('should have gotten an object as response', function() {
+ expect(typeof $scope.applianceChangelog).toBe('object');
+ });
+ });
+
+});
\ No newline at end of file