Browse Source

Merge pull request #33 from ckeditor/t/ckeditor5-engine/1074

Internal: Aligned selection method names to the changes in the engine.
Piotr Jasiun 8 years ago
parent
commit
85c56a8a56
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/ckeditor5-clipboard/tests/clipboardobserver.js

+ 1 - 1
packages/ckeditor5-clipboard/tests/clipboardobserver.js

@@ -24,7 +24,7 @@ describe( 'ClipboardObserver', () => {
 		root.appendChildren( el );
 		doc.domConverter.viewToDom( root, document, { withChildren: true, bind: true } );
 
-		doc.selection.collapse( el );
+		doc.selection.setCollapsedAt( el );
 		range = new Range( new Position( root, 1 ) );
 		// Just making sure that the following tests will check anything.
 		expect( range.isEqual( doc.selection.getFirstRange() ) ).to.be.false;