Fix failing tests

This commit is contained in:
Joe Fiorini
2015-02-06 10:21:25 -05:00
parent 6a2fa3c6ce
commit 8d1898e4ae
4 changed files with 7 additions and 6 deletions

View File

@@ -51,11 +51,10 @@ module.exports = function(config) {
'../static/lib/lrInfiniteScroll/lrInfiniteScroll.js',
'../static/lib/ansible/*.js',
'../static/js/config.js',
'../static/js/directives/dashboard-graphs.js',
'../static/js/directives/_dashboard-graphs.js',
'../static/js/*/*.js',
'../static/js/app.js',
'../static/lib/angular-mocks/angular-mocks.js',
'../../../node_modules/ng-midway-tester/src/ngMidwayTester.js',
'./unit/*',
'./unit/**/*'
],

View File

@@ -14,7 +14,7 @@ describe('Host Count Graph Data Service', function() {
window.setTimeout(function() {
inject(function($rootScope) {
$rootScope.$apply();
});
}, 1000);
});
}
@@ -74,6 +74,7 @@ describe('Host Count Graph Data Service', function() {
$provide.value("$cookieStore", { get: angular.noop });
$provide.value('ProcessErrors', processErrors);
$provide.value('Rest', restStub);
$provide.value('GetBasePath', getBasePath);
}));