|
@@ -73,6 +73,7 @@ describe( 'ColorInputView', () => {
|
|
|
it( 'should be created', () => {
|
|
it( 'should be created', () => {
|
|
|
expect( view._dropdownView ).to.be.instanceOf( DropdownView );
|
|
expect( view._dropdownView ).to.be.instanceOf( DropdownView );
|
|
|
expect( view._dropdownView.buttonView.element.classList.contains( 'ck-input-color__button' ) ).to.be.true;
|
|
expect( view._dropdownView.buttonView.element.classList.contains( 'ck-input-color__button' ) ).to.be.true;
|
|
|
|
|
+ expect( view._dropdownView.buttonView.tooltip ).to.equal( 'Color picker' );
|
|
|
} );
|
|
} );
|
|
|
|
|
|
|
|
it( 'should bind #isEnabled to the view\'s #isReadOnly', () => {
|
|
it( 'should bind #isEnabled to the view\'s #isReadOnly', () => {
|