8
0
Просмотр исходного кода

Tests: Minor rewording.

Co-Authored-By: Aleksander Nowodzinski <a.nowodzinski@cksource.com>
Marek Lewandowski 5 лет назад
Родитель
Сommit
371e107c93
1 измененных файлов с 1 добавлено и 1 удалено
  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 );
 			} );
 
-			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 item2 = { id: 'foo', name: 'yy' };
 				const collection = new Collection( [ item1, item2 ], { idProperty: 'name' } );