Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Tests: Moved a test that verifies the automatic toolbar items groupin…
Browse files Browse the repository at this point in the history
…g to the DecoupledEditorUIView tests.
  • Loading branch information
oleq committed Oct 14, 2019
1 parent 7d449cc commit a2cc7aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/decouplededitorui.js
Expand Up @@ -137,10 +137,6 @@ describe( 'DecoupledEditorUI', () => {
} );

describe( 'view.toolbar', () => {
it( 'has automatic items grouping enabled', () => {
expect( view.toolbar.shouldGroupWhenFull ).to.be.true;
} );

describe( '#items', () => {
it( 'are filled with the config.toolbar (specified as an Array)', () => {
return VirtualDecoupledTestEditor
Expand Down
4 changes: 4 additions & 0 deletions tests/decouplededitoruiview.js
Expand Up @@ -45,6 +45,10 @@ describe( 'DecoupledEditorUIView', () => {
it( 'is not rendered', () => {
expect( view.toolbar.isRendered ).to.be.false;
} );

it( 'has automatic items grouping enabled', () => {
expect( view.toolbar.options.shouldGroupWhenFull ).to.be.true;
} );
} );

describe( '#editable', () => {
Expand Down

0 comments on commit a2cc7aa

Please sign in to comment.