Browse Source

Updated test for tableCell schema.

Kuba Niegowski 5 years ago
parent
commit
7421549246
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/ckeditor5-table/tests/tableediting.js

+ 1 - 0
packages/ckeditor5-table/tests/tableediting.js

@@ -68,6 +68,7 @@ describe( 'TableEditing', () => {
 		// Table cell:
 		expect( model.schema.isRegistered( 'tableCell' ) ).to.be.true;
 		expect( model.schema.isLimit( 'tableCell' ) ).to.be.true;
+		expect( model.schema.getDefinition( 'tableCell' ) ).to.have.property( 'allowMultiRangeSelection', true );
 
 		expect( model.schema.checkChild( [ '$root' ], 'tableCell' ) ).to.be.false;
 		expect( model.schema.checkChild( [ 'table' ], 'tableCell' ) ).to.be.false;