Przeglądaj źródła

Tests: Fix caption checks in AlignmentEditing tests.

Maciej Gołaszewski 8 lat temu
rodzic
commit
12f3b4f72f

+ 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;
 		} );
 	} );