From 9b1adf8a2916a146fbfe890a0f3ed0c6cba40686 Mon Sep 17 00:00:00 2001 From: Ramon Jimenez Date: Thu, 21 Dec 2017 18:30:10 -0700 Subject: [PATCH] spec descriptions corrected --- spec/pane-container-element-spec.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/pane-container-element-spec.coffee b/spec/pane-container-element-spec.coffee index 61d32db4f..22651b489 100644 --- a/spec/pane-container-element-spec.coffee +++ b/spec/pane-container-element-spec.coffee @@ -238,7 +238,7 @@ describe "PaneContainerElement", -> expect(leftPane.getFlexScale()).toBe 1/1.1 expect(rightPane.getFlexScale()).toBe 1/1.1 - describe "one pane resizing", -> + describe "when only a single pane is present", -> [singlePane] = [] beforeEach -> @@ -246,7 +246,7 @@ describe "PaneContainerElement", -> singlePane = container.getActivePane() describe "when pane:increase-size is triggered", -> - it "increases the size of the pane", -> + it "does not increases the size of the pane", -> expect(singlePane.getFlexScale()).toBe 1 atom.commands.dispatch(singlePane.getElement(), 'pane:increase-size') @@ -256,11 +256,11 @@ describe "PaneContainerElement", -> expect(singlePane.getFlexScale()).toBe 1 describe "when pane:decrease-size is triggered", -> - it "decreases the size of the pane", -> + it "does not decreases the size of the pane", -> expect(singlePane.getFlexScale()).toBe 1 atom.commands.dispatch(singlePane.getElement(), 'pane:decrease-size') expect(singlePane.getFlexScale()).toBe 1 atom.commands.dispatch(singlePane.getElement(), 'pane:decrease-size') - expect(singlePane.getFlexScale()).toBe 1 \ No newline at end of file + expect(singlePane.getFlexScale()).toBe 1