8
0
Pārlūkot izejas kodu

Minor test changes.

Oskar Wrobel 9 gadi atpakaļ
vecāks
revīzija
5ceb7c0adc
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. 1 2
      packages/ckeditor5-link/tests/linkengine.js

+ 1 - 2
packages/ckeditor5-link/tests/linkengine.js

@@ -40,12 +40,11 @@ describe( 'LinkEngine', () => {
 			const command = editor.commands.get( 'link' );
 
 			expect( command ).to.be.instanceOf( LinkCommand );
-			expect( command ).to.have.property( 'attributeKey', 'link' );
 		} );
 	} );
 
 	describe( 'data pipeline conversions', () => {
-		it( 'should convert `<a href="url">` to `bold="url"` attribute', () => {
+		it( 'should convert `<a href="url">` to `link="url"` attribute', () => {
 			editor.setData( '<a href="url">foo</a>bar' );
 
 			expect( getModelData( doc, { withoutSelection: true } ) ).to.equal( '<$text link="url">foo</$text>bar' );