|
@@ -31,7 +31,8 @@ describe( 'ColorTableView', () => {
|
|
|
options: {
|
|
options: {
|
|
|
hasBorder: true
|
|
hasBorder: true
|
|
|
}
|
|
}
|
|
|
- }, {
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
color: 'red',
|
|
color: 'red',
|
|
|
label: 'Red',
|
|
label: 'Red',
|
|
|
options: {
|
|
options: {
|
|
@@ -90,6 +91,7 @@ describe( 'ColorTableView', () => {
|
|
|
} );
|
|
} );
|
|
|
|
|
|
|
|
it( 'has proper class', () => {
|
|
it( 'has proper class', () => {
|
|
|
|
|
+ expect( colorTableView.element.classList.contains( 'ck' ) ).to.be.true;
|
|
|
expect( colorTableView.element.classList.contains( 'ck-color-table' ) ).to.be.true;
|
|
expect( colorTableView.element.classList.contains( 'ck-color-table' ) ).to.be.true;
|
|
|
} );
|
|
} );
|
|
|
} );
|
|
} );
|