8
0
Просмотр исходного кода

Tests: Fix caption checks in AlignmentEditing tests.

Maciej Gołaszewski 8 лет назад
Родитель
Сommit
12f3b4f72f
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/ckeditor5-alignment/tests/alignmentediting.js

+ 2 - 2
packages/ckeditor5-alignment/tests/alignmentediting.js

@@ -69,8 +69,8 @@ describe( 'AlignmentEditing', () => {
 			expect( doc.schema.check( { name: 'heading1', attributes: 'alignment' } ) ).to.be.true;
 		} );
 
-		it( 'is disallowed on figcaption', () => {
-			expect( doc.schema.check( { name: 'figcaption', attributes: 'alignment' } ) ).to.be.false;
+		it( 'is disallowed on caption', () => {
+			expect( doc.schema.check( { name: 'caption', attributes: 'alignment' } ) ).to.be.false;
 		} );
 	} );