Fix table module unit tests

This commit is contained in:
Frédéric Vachon 2015-02-25 09:48:02 -05:00
parent 81fd78b2fa
commit 6c33d9451f
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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>