mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Fix test
This commit is contained in:
parent
f2fa3476a4
commit
7d7fe2c8f2
1 changed files with 3 additions and 1 deletions
|
|
@ -13,6 +13,8 @@ describe('Controller: ParagraphCtrl', function() {
|
|||
|
||||
beforeEach(inject(function($controller, $rootScope) {
|
||||
scope = $rootScope.$new();
|
||||
$rootScope.notebookScope = $rootScope.$new(true, $rootScope);
|
||||
|
||||
ParagraphCtrl = $controller('ParagraphCtrl', {
|
||||
$scope: scope,
|
||||
websocketMsgSrv: websocketMsgSrvMock,
|
||||
|
|
@ -79,4 +81,4 @@ describe('Controller: ParagraphCtrl', function() {
|
|||
expect(scope.renderAngular).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue