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

Plugins became a set of features and the creator. Plus, fixed the rest of the tests.

Piotrek Koszuliński 10 лет назад
Родитель
Сommit
b902d86569
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/ckeditor5-utils/tests/ckeditor/ckeditor.js

+ 2 - 2
packages/ckeditor5-utils/tests/ckeditor/ckeditor.js

@@ -10,7 +10,7 @@
 const modules = bender.amd.require( 'ckeditor', 'core/editor', 'core/config' );
 
 let content = document.getElementById( 'content' );
-let editorConfig = { plugins: 'creator-test' };
+let editorConfig = { creator: 'creator-test' };
 
 bender.tools.createSinonSandbox();
 bender.tools.core.defineEditorCreatorMock( 'test' );
@@ -52,7 +52,7 @@ describe( 'create', () => {
 	} );
 
 	it( 'should set configurations on the new editor', () => {
-		return CKEDITOR.create( content, { test: 1, plugins: 'creator-test' } ).then( ( editor ) => {
+		return CKEDITOR.create( content, { test: 1, creator: 'creator-test' } ).then( ( editor ) => {
 			expect( editor.config.test ).to.equal( 1 );
 		} );
 	} );