|
|
@@ -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', () => {
|