This commit is contained in:
Lee moon soo 2016-01-01 01:46:22 -08:00
parent f2fa3476a4
commit 7d7fe2c8f2

View file

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