blob: 9949b08b7c55325bb2bfdd4d5e228ac4e48ed9a6 [file] [log] [blame]
'use strict';
describe('The Hpc View', () => {
var scope, element, isolatedScope, httpBackend;
beforeEach(module('xos.hpc'));
beforeEach(module('templates'));
beforeEach(inject(function($httpBackend, $compile, $rootScope){
scope = $rootScope.$new();
element = angular.element('<hpcs-list></hpcs-list>');
$compile(element)(scope);
scope.$digest();
isolatedScope = element.isolateScope().vm;
}));
it('should define 2 tables', () => {
expect(isolatedScope.routerConfig).toBeDefined();
expect(isolatedScope.cacheConfig).toBeDefined();
});
});