ソースを参照

Fixed test names.

Piotrek Koszuliński 7 年 前
コミット
b114850841
1 ファイル変更2 行追加2 行削除
  1. 2 2
      packages/ckeditor5-ckfinder/tests/ckfindercommand.js

+ 2 - 2
packages/ckeditor5-ckfinder/tests/ckfindercommand.js

@@ -131,7 +131,7 @@ describe( 'CKFinderCommand', () => {
 			expect( finderMock ).to.have.property( 'file:choose:resizedImage' );
 		} );
 
-		it( 'should use "CKFinder.modal" as default CKFinder opener method', () => {
+		it( 'should use CKFinder.modal() as default CKFinder opener method', () => {
 			const spy = sinon.spy( window.CKFinder, 'modal' );
 
 			command.execute();
@@ -139,7 +139,7 @@ describe( 'CKFinderCommand', () => {
 			sinon.assert.calledOnce( spy );
 		} );
 
-		it( 'should use "CKFinder.modal" as default CKFinder opener method', () => {
+		it( 'should use CKFinder.popup() when ckfinder.openerMethod is set to it', () => {
 			const spy = sinon.spy( window.CKFinder, 'popup' );
 
 			editor.config.set( 'ckfinder.openerMethod', 'popup' );