Browse Source

Merge branch t/engine/1186

Internal: Update API usage after merge t/1186 on engine.
Piotr Jasiun 8 years ago
parent
commit
8436e3386c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/ckeditor5-easy-image/tests/easyimage.js

+ 1 - 1
packages/ckeditor5-easy-image/tests/easyimage.js

@@ -112,7 +112,7 @@ describe( 'EasyImage', () => {
 							reject( new Error( data.title ) );
 						} );
 
-						editor.document.on( 'change', () => {
+						editor.model.document.on( 'change', () => {
 							// Check whether the image is uploaded and the image's src is replaced correctly.
 							if ( editor.getData() === '<figure class="image"><img src="http://image.mock.url/"></figure>' ) {
 								editor.destroy().then( resolve );