Commit 69b91892 by Torkel Ödegaard

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

parent 06fe5721
......@@ -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();
});
});
});
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment