|
|
@@ -37,8 +37,8 @@ describe( 'ClassicEditorUI', () => {
|
|
|
ui = new ClassicEditorUI( editor, view );
|
|
|
editable = editor.editing.view.getRoot();
|
|
|
|
|
|
- ui.featureComponents.add( 'foo', viewCreator( 'foo' ) );
|
|
|
- ui.featureComponents.add( 'bar', viewCreator( 'bar' ) );
|
|
|
+ ui.componentFactory.add( 'foo', viewCreator( 'foo' ) );
|
|
|
+ ui.componentFactory.add( 'bar', viewCreator( 'bar' ) );
|
|
|
} );
|
|
|
|
|
|
describe( 'constructor()', () => {
|
|
|
@@ -50,8 +50,8 @@ describe( 'ClassicEditorUI', () => {
|
|
|
expect( ui.view ).to.equal( view );
|
|
|
} );
|
|
|
|
|
|
- it( 'creates #featureComponents factory', () => {
|
|
|
- expect( ui.featureComponents ).to.be.instanceOf( ComponentFactory );
|
|
|
+ it( 'creates #componentFactory factory', () => {
|
|
|
+ expect( ui.componentFactory ).to.be.instanceOf( ComponentFactory );
|
|
|
} );
|
|
|
|
|
|
it( 'creates #focusTracker', () => {
|