From 1376afe17eb109d5c0ac2e93d575082671263cde Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Tue, 5 Jan 2016 10:57:32 +0100 Subject: [PATCH] :art: --- spec/text-editor-presenter-spec.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/text-editor-presenter-spec.coffee b/spec/text-editor-presenter-spec.coffee index 18e8d313b..b65253a4d 100644 --- a/spec/text-editor-presenter-spec.coffee +++ b/spec/text-editor-presenter-spec.coffee @@ -2377,9 +2377,9 @@ describe "TextEditorPresenter", -> it "doesn't throw an error when setting the dimensions for a destroyed decoration", -> blockDecoration = addBlockDecorationForScreenRow(0) - presenter = buildPresenter(explicitHeight: 30, lineHeight: 10, tileSize: 2, scrollTop: 0) - blockDecoration.destroy() + presenter = buildPresenter() + blockDecoration.destroy() presenter.setBlockDecorationDimensions(blockDecoration, 30, 30) expect(getState(presenter).content.blockDecorations).toEqual({})