Fix table module unit tests
This commit is contained in:
parent
81fd78b2fa
commit
6c33d9451f
@ -30,7 +30,7 @@ describe('In Table module', function () {
|
|||||||
describe('adgTable directive', function () {
|
describe('adgTable directive', function () {
|
||||||
|
|
||||||
it('should request table/table.html template', function () {
|
it('should request table/table.html template', function () {
|
||||||
var elem = angular.element('<adg-table cells-name="host,service_check,duration,last_check" cells-text="Host,Service Check,Duration,Last check" api-name="services"></adg-table>');
|
var elem = angular.element('<adg-table cells-name="host,service_check,duration,last_check" cells-text="Host,Service Check,Duration,Last check" api-name="services" is-wrappable="true"></adg-table>');
|
||||||
$compile(elem)($rootScope);
|
$compile(elem)($rootScope);
|
||||||
$httpBackend.expectGET('components/table/table.html').respond('');
|
$httpBackend.expectGET('components/table/table.html').respond('');
|
||||||
$httpBackend.flush();
|
$httpBackend.flush();
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
<div role="tabpanel" class="problems tab-pane active" id="openProblems">
|
<div role="tabpanel" class="problems tab-pane active" id="openProblems">
|
||||||
<header class="main__content__header clearfix">
|
<header class="main__content__header clearfix">
|
||||||
<h2 class="main__content__title">Unhandled service problems</h2>
|
<h2 class="main__content__title">{{dashboardTitle}}</h2>
|
||||||
<p class="main__content__alert state--error">There are {{nbHostProblems}} host problems.</p>
|
<p class="main__content__alert state--error">There are {{nbHostProblems}} host problems.</p>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user