浏览代码

Aligned test with engine changes.

Oskar Wróbel 8 年之前
父节点
当前提交
5b3f8c87e5
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/ckeditor5-editor-classic/tests/classiceditor.js

+ 2 - 2
packages/ckeditor5-editor-classic/tests/classiceditor.js

@@ -40,8 +40,8 @@ describe( 'ClassicEditor', () => {
 		} );
 
 		it( 'creates a single document root', () => {
-			expect( count( editor.document.getRootNames() ) ).to.equal( 1 );
-			expect( editor.document.getRoot() ).to.have.property( 'name', '$root' );
+			expect( count( editor.model.document.getRootNames() ) ).to.equal( 1 );
+			expect( editor.model.document.getRoot() ).to.have.property( 'name', '$root' );
 		} );
 
 		it( 'uses HTMLDataProcessor', () => {