소스 검색

Test: Aligned test to latest API.

Oskar Wróbel 8 년 전
부모
커밋
63134c3748
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/ckeditor5-core/tests/editor/editor.js

+ 1 - 1
packages/ckeditor5-core/tests/editor/editor.js

@@ -153,7 +153,7 @@ describe( 'Editor', () => {
 		it( 'should create main root element', () => {
 			const editor = new Editor();
 
-			expect( editor.model.document.hasRoot( 'main' ) ).to.true;
+			expect( editor.model.document.getRoot( 'main' ) ).to.ok;
 		} );
 
 		it( 'should activate #keystrokes', () => {