fixed build issues with last commit (spec file syntax error)

This commit is contained in:
Torkel Ödegaard 2014-03-23 16:04:21 +01:00 committed by Bruce Sherrod
parent d8cf427425
commit f849b8cd4b

View File

@ -9,11 +9,13 @@ define([
beforeEach(module('kibana.services'));
beforeEach(module(function($provide){
$provide.value('dashboard', dashboardMock.create());
$provide.value('filterSrv',{});
}));
beforeEach(inject(function(filterSrv) {
_filterSrv = filterSrv;
beforeEach(inject(function($controller, $rootScope) {
_targetCtrl = $controller({
$scope: $rootScope.$new()
});
}));
describe('init', function() {
@ -22,4 +24,5 @@ define([
_filterSrv.init();
});
});
});
});