소스 검색

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