Parcourir la source

Fixed typo in tests.

Oskar Wrobel il y a 9 ans
Parent
commit
f9bff8a61a

+ 9 - 9
packages/ckeditor5-link/tests/ui/linkballoonpanel.js

@@ -30,21 +30,21 @@ describe( 'LinkBalloonPanel', () => {
 	} );
 
 	describe( 'constructor', () => {
-		it( 'should extends BalloonPanel class', () => {
+		it( 'should extend BalloonPanel class', () => {
 			expect( linkBalloonPanel ).to.be.instanceOf( BalloonPanel );
 		} );
 
 		describe( 'child components', () => {
 			describe( 'form', () => {
-				it( 'should creates Form instance', () => {
+				it( 'should create Form instance', () => {
 					expect( linkBalloonPanel.form ).to.instanceof( Form );
 				} );
 
-				it( 'should appends to "content" collection', () => {
+				it( 'should append to "content" collection', () => {
 					expect( linkBalloonPanel.collections.get( 'content' ).get( 0 ) ).to.deep.equal( linkBalloonPanel.form );
 				} );
 
-				it( 'should delegates form.model#execute to the model', () => {
+				it( 'should delegate form.model#execute to the model', () => {
 					const executeSpy = sinon.spy();
 
 					model.on( 'execute', executeSpy );
@@ -56,15 +56,15 @@ describe( 'LinkBalloonPanel', () => {
 			} );
 
 			describe( 'urlInput', () => {
-				it( 'should creates LabeledInput instance', () => {
+				it( 'should create LabeledInput instance', () => {
 					expect( linkBalloonPanel.urlInput ).to.instanceof( LabeledInput );
 				} );
 
-				it( 'should appends to Form "content" collection', () => {
+				it( 'should append to Form "content" collection', () => {
 					expect( linkBalloonPanel.form.collections.get( 'content' ).get( 0 ) ).to.deep.equal( linkBalloonPanel.urlInput );
 				} );
 
-				it( 'should binds model#url to urlInput.model#value', () => {
+				it( 'should bind model#url to urlInput.model#value', () => {
 					expect( linkBalloonPanel.urlInput.model.value ).to.equal( model.url ).to.equal( 'http://ckeditor.com' );
 
 					model.url = 'http://cksource.com';
@@ -74,7 +74,7 @@ describe( 'LinkBalloonPanel', () => {
 			} );
 
 			describe( 'saveButton', () => {
-				it( 'should creates Button instance', () => {
+				it( 'should create Button instance', () => {
 					expect( linkBalloonPanel.saveButton ).to.instanceof( Button );
 				} );
 
@@ -97,7 +97,7 @@ describe( 'LinkBalloonPanel', () => {
 			} );
 
 			describe( 'cancelButton', () => {
-				it( 'should creates Button instance', () => {
+				it( 'should create Button instance', () => {
 					expect( linkBalloonPanel.cancelButton ).to.instanceof( Button );
 				} );
 

+ 1 - 1
packages/ckeditor5-link/tests/ui/linkballoonpanelview.js

@@ -16,7 +16,7 @@ describe( 'LinkBalloonPanelView', () => {
 	} );
 
 	describe( 'constructor', () => {
-		it( 'should extends BalloonPanelView class', () => {
+		it( 'should extend BalloonPanelView class', () => {
 			expect( view ).to.be.instanceof( BalloonPanelView );
 		} );