Skip to content

Commit

Permalink
Tests: adjusted variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
mlewand committed Nov 23, 2017
1 parent dee413d commit 5058fd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/plugins/uploadimage/uploadimage.js
Original file line number Diff line number Diff line change
Expand Up @@ -538,16 +538,16 @@

'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: '<img src="data:image/gif;base64,aw==" alt="nothing" data-cke-realelement="some" />'
} );

editor.once( 'afterPaste', function() {
resume( function() {
createspy.restore();
assert.isTrue( createspy.notCalled );
createSpy.restore();
assert.isTrue( createSpy.notCalled );
} );
} );

Expand Down

0 comments on commit 5058fd3

Please sign in to comment.