From 4e1f5f6c11dfc89f27afc3331c54a34a42eaae80 Mon Sep 17 00:00:00 2001
From: Aleksander Nowodzinski <a.nowodzinski@cksource.com>
Date: Thu, 10 Aug 2017 10:58:23 +0200
Subject: [PATCH] Tests: Updated stubs to the latest Sinon API.

---
 tests/integration.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/integration.js b/tests/integration.js
index 4a69900..83f89d7 100644
--- a/tests/integration.js
+++ b/tests/integration.js
@@ -195,7 +195,7 @@ describe( 'BlockQuote', () => {
 		it( 'scrolls the view document to the selection after the command is executed', () => {
 			const data = fakeEventData();
 			const execSpy = sinon.spy( editor, 'execute' );
-			const scrollSpy = sinon.stub( editor.editing.view, 'scrollToTheSelection', () => {} );
+			const scrollSpy = sinon.stub( editor.editing.view, 'scrollToTheSelection' );
 
 			setModelData( doc,
 				'<paragraph>x</paragraph>' +