'use strict'; describe('In Table module', function () { var $compile, $rootScope, $httpBackend; beforeEach(module('bansho.table')); beforeEach(inject(function (_$compile_, _$rootScope_, _$httpBackend_) { $compile = _$compile_; $rootScope = _$rootScope_; $httpBackend = _$httpBackend_; })); describe('banshoCell directive', function () { it('should send a get request to the proper cell template', function () { var cells = ['host', 'service_check', 'duration', 'last_check']; angular.forEach(cells, function (cell) { var elem = angular.element('