Przeglądaj źródła

Tests: Minor rewording.

Co-Authored-By: Aleksander Nowodzinski <a.nowodzinski@cksource.com>
Marek Lewandowski 5 lat temu
rodzic
commit
371e107c93
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/ckeditor5-utils/tests/collection.js

+ 1 - 1
packages/ckeditor5-utils/tests/collection.js

@@ -92,7 +92,7 @@ describe( 'Collection', () => {
 				expect( collection.remove( 'yy' ) ).to.equal( item2 );
 				expect( collection.remove( 'yy' ) ).to.equal( item2 );
 			} );
 			} );
 
 
-			it( 'allow to change the id property used by the collection (initial items)', () => {
+			it( 'should allow to change the id property used by the collection (initial items passed to the constructor)', () => {
 				const item1 = { id: 'foo', name: 'xx' };
 				const item1 = { id: 'foo', name: 'xx' };
 				const item2 = { id: 'foo', name: 'yy' };
 				const item2 = { id: 'foo', name: 'yy' };
 				const collection = new Collection( [ item1, item2 ], { idProperty: 'name' } );
 				const collection = new Collection( [ item1, item2 ], { idProperty: 'name' } );