From a549473b1d37d437b28e4cb39677ae44991f3523 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Wr=C3=B3bel?= Date: Wed, 27 Jun 2018 16:28:06 +0200 Subject: [PATCH] Removed unnecessary test case. --- tests/inlineeditorui.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tests/inlineeditorui.js b/tests/inlineeditorui.js index f7927c3..0d25919 100644 --- a/tests/inlineeditorui.js +++ b/tests/inlineeditorui.js @@ -198,17 +198,6 @@ describe( 'InlineEditorUI', () => { } ); } ); } ); - - describe( 'destroy()', () => { - it( 'calls EditorUI#destroy', () => { - const spy = testUtils.sinon.spy( EditorUI.prototype, 'destroy' ); - - return editor.destroy() - .then( () => { - sinon.assert.calledOnce( spy ); - } ); - } ); - } ); } ); function viewCreator( name ) {