Bläddra i källkod

Tests: reverted incorrectly renamed test.

Szymon Cofalik 8 år sedan
förälder
incheckning
6bf6d5d95a

+ 1 - 1
packages/ckeditor5-image/tests/imagecaption/imagecaptionengine.js

@@ -80,7 +80,7 @@ describe( 'ImageCaptionEngine', () => {
 				expect( editor.getData() ).to.equal( '<figure class="image"><img src="img.png"><figcaption>Foo bar baz.</figcaption></figure>' );
 				expect( editor.getData() ).to.equal( '<figure class="image"><img src="img.png"><figcaption>Foo bar baz.</figcaption></figure>' );
 			} );
 			} );
 
 
-			it( 'should convert caption to figcaption with hidden class if it\'s empty', () => {
+			it( 'should not convert caption to figcaption if it\'s empty', () => {
 				setModelData( document, '<image src="img.png"><caption></caption></image>' );
 				setModelData( document, '<image src="img.png"><caption></caption></image>' );
 
 
 				expect( editor.getData() ).to.equal( '<figure class="image"><img src="img.png"></figure>' );
 				expect( editor.getData() ).to.equal( '<figure class="image"><img src="img.png"></figure>' );