diff --git a/tests/plugins/uploadimage/uploadimage.js b/tests/plugins/uploadimage/uploadimage.js index a4e54484f4f..c487ea05203 100644 --- a/tests/plugins/uploadimage/uploadimage.js +++ b/tests/plugins/uploadimage/uploadimage.js @@ -538,7 +538,7 @@ 'test prevent upload fake elements (https://dev.ckeditor.com/ticket/13003)': function() { var editor = this.editors.inline, - createspy = sinon.spy( editor.uploadRepository, 'create' ); + createSpy = sinon.spy( editor.uploadRepository, 'create' ); editor.fire( 'paste', { dataValue: 'nothing' @@ -546,8 +546,8 @@ editor.once( 'afterPaste', function() { resume( function() { - createspy.restore(); - assert.isTrue( createspy.notCalled ); + createSpy.restore(); + assert.isTrue( createSpy.notCalled ); } ); } );