8
0
Quellcode durchsuchen

Fixed typo in Model tests.

Oskar Wróbel vor 8 Jahren
Ursprung
Commit
0d4d1bb1cc
1 geänderte Dateien mit 8 neuen und 8 gelöschten Zeilen
  1. 8 8
      packages/ckeditor5-engine/tests/model/model.js

+ 8 - 8
packages/ckeditor5-engine/tests/model/model.js

@@ -60,7 +60,7 @@ describe( 'Model', () => {
 			}
 		} );
 
-		it( 'should execute enqueueChanges immediately if its the first block', () => {
+		it( 'should execute enqueueChange immediately if its the first block', () => {
 			model.enqueueChange( () => {
 				changes += 'A';
 
@@ -80,7 +80,7 @@ describe( 'Model', () => {
 			}
 		} );
 
-		it( 'should be possible to enqueueChanges immediately if its the first block', () => {
+		it( 'should be possible to enqueueChange immediately if its the first block', () => {
 			model.enqueueChange( () => {
 				changes += 'A';
 
@@ -96,7 +96,7 @@ describe( 'Model', () => {
 			}
 		} );
 
-		it( 'should be possible to nest change in enqueueChanges', () => {
+		it( 'should be possible to nest change in enqueueChange', () => {
 			model.enqueueChange( () => {
 				changes += 'A';
 
@@ -118,7 +118,7 @@ describe( 'Model', () => {
 			}
 		} );
 
-		it( 'should be possible to nest enqueueChanges in enqueueChanges', () => {
+		it( 'should be possible to nest enqueueChange in enqueueChange', () => {
 			model.enqueueChange( () => {
 				changes += 'A';
 
@@ -136,7 +136,7 @@ describe( 'Model', () => {
 			}
 		} );
 
-		it( 'should be possible to nest enqueueChanges in changes', () => {
+		it( 'should be possible to nest enqueueChange in changes', () => {
 			const ret = model.change( () => {
 				changes += 'A';
 
@@ -158,7 +158,7 @@ describe( 'Model', () => {
 			}
 		} );
 
-		it( 'should be possible to nest enqueueChanges in enqueueChanges event', () => {
+		it( 'should be possible to nest enqueueChange in enqueueChange event', () => {
 			model.once( 'change', () => {
 				model.enqueueChange( () => {
 					changes += 'C';
@@ -178,7 +178,7 @@ describe( 'Model', () => {
 			expect( changes ).to.equal( 'ABCD' );
 		} );
 
-		it( 'should be possible to nest enqueueChanges in changes event', () => {
+		it( 'should be possible to nest enqueueChange in changes event', () => {
 			model.once( 'change', () => {
 				model.enqueueChange( () => {
 					changes += 'C';
@@ -198,7 +198,7 @@ describe( 'Model', () => {
 			expect( changes ).to.equal( 'ABCD' );
 		} );
 
-		it( 'should be possible to nest changes in enqueueChanges event', () => {
+		it( 'should be possible to nest changes in enqueueChange event', () => {
 			model.once( 'change', () => {
 				model.change( () => {
 					changes += 'B';