Skip to content
Permalink
Browse files

Merge branch 't/12295' into major

  • Loading branch information...
Reinmar committed Sep 8, 2014
2 parents 87be663 + 4fe909b commit 409e8d5bad9da057d1b9b147c64e0142384b25fd
Showing with 7 additions and 1 deletion.
  1. +7 −1 tests/plugins/mathjax/mathjax-mock.js
@@ -81,10 +81,16 @@
'test conflict with iframe plugin': function() {
var editor = editors[ 'with_iframe' ];

editor.on( 'afterPaste', function() {
resume( function() {
assert.areSame( 2, editor.document.getElementsByTag( 'iframe' ).count(), 'There should be two iFrames.' );
} );
} );

editor.focus();
bender.tools.emulatePaste( editor, editor.document.getElementsByTag( 'p' ).getItem( 0 ).$.innerHTML );

assert.areSame( 2, editor.document.getElementsByTag( 'iframe' ).count(), 'There should be two iFrames.' );
wait();
},

'test not a widget': function() {

0 comments on commit 409e8d5

Please sign in to comment.
You can’t perform that action at this time.