Преглед изворни кода

Tests: Fix caption checks in AlignmentEditing tests.

Maciej Gołaszewski пре 8 година
родитељ
комит
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;
 		} );
 	} );