Forráskód Böngészése

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

Aleksander Nowodzinski 9 éve
szülő
commit
f3fced2a16

+ 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;
 			} );
 		} );
 	} );