From 7453471cda510331f21b71921c88709936afdfb0 Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Fri, 20 Oct 2017 18:03:58 +0200 Subject: [PATCH] Tests: Simplified BalloonEditorUI tests. Internal: Aligned the UI to the latest API of the framework (see ckeditor/ckeditor5-ui#262). --- tests/ballooneditorui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ballooneditorui.js b/tests/ballooneditorui.js index fcb36b3..8bb8d1e 100644 --- a/tests/ballooneditorui.js +++ b/tests/ballooneditorui.js @@ -39,7 +39,7 @@ describe( 'BalloonEditorUI', () => { } ); it( 'sets #view', () => { - expect( ui.view ).to.equal( view ); + expect( ui.view ).to.be.instanceOf( BalloonEditorUIView ); } ); it( 'creates #componentFactory factory', () => {