Преглед на файлове

Updated EditableUIView test after Template changed its approach to falsy values.

Aleksander Nowodzinski преди 9 години
родител
ревизия
f3fced2a16
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      packages/ckeditor5-ui/tests/editableui/editableuiview.js

+ 1 - 1
packages/ckeditor5-ui/tests/editableui/editableuiview.js

@@ -68,7 +68,7 @@ describe( 'EditableUIView', () => {
 			it( 'reacts on editable.isReadOnly', () => {
 				editable.isReadOnly = true;
 
-				expect( view.element.getAttribute( 'contenteditable' ) ).to.equal( 'false' );
+				expect( view.element.hasAttribute( 'contenteditable' ) ).to.be.false;
 			} );
 		} );
 	} );