浏览代码

Added missing test.

Piotrek Koszuliński 9 年之前
父节点
当前提交
fa8f41d57d
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      packages/ckeditor5-ui/tests/editorui/editorui.js

+ 4 - 0
packages/ckeditor5-ui/tests/editorui/editorui.js

@@ -26,5 +26,9 @@ describe( 'EditorUI', () => {
 
 
 			expect( editorUI.collections.get( 'body' ) ).to.be.instanceof( ControllerCollection );
 			expect( editorUI.collections.get( 'body' ) ).to.be.instanceof( ControllerCollection );
 		} );
 		} );
+
+		it( 'sets editor.ui property', () => {
+			expect( editor ).to.have.property( 'ui', editorUI );
+		} );
 	} );
 	} );
 } );
 } );