From cf9ed9207293cecd01ad36d1b04335e7e1385b80 Mon Sep 17 00:00:00 2001 From: Justin Palmer Date: Mon, 4 Feb 2013 11:38:31 -0800 Subject: [PATCH] fix gists specs --- src/packages/command-palette/spec/command-palette-spec.coffee | 2 +- src/packages/gists/spec/gists-spec.coffee | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/packages/command-palette/spec/command-palette-spec.coffee b/src/packages/command-palette/spec/command-palette-spec.coffee index 60e01efb2..1f56f1ab5 100644 --- a/src/packages/command-palette/spec/command-palette-spec.coffee +++ b/src/packages/command-palette/spec/command-palette-spec.coffee @@ -16,7 +16,7 @@ describe "CommandPalette", -> afterEach -> rootView.remove() - fdescribe "when command-palette:toggle is triggered on the root view", -> + describe "when command-palette:toggle is triggered on the root view", -> it "shows a list of all valid command descriptions, names, and keybindings for the previously focused element", -> keyBindings = _.losslessInvert(keymap.bindingsForElement(rootView.getActiveEditor())) for eventName, description of rootView.getActiveEditor().events() diff --git a/src/packages/gists/spec/gists-spec.coffee b/src/packages/gists/spec/gists-spec.coffee index 64227744a..056d6e412 100644 --- a/src/packages/gists/spec/gists-spec.coffee +++ b/src/packages/gists/spec/gists-spec.coffee @@ -44,8 +44,8 @@ describe "Gists package", -> expect(pasteboard.read()[0]).toBe 'https://gist.github.com/1' it "flashes that the Gist was created", -> - expect(rootView.find('.gist-notification')).toExist() - expect(rootView.find('.gist-notification .message').text()).toBe 'Gist 1 created' + expect(rootView.find('.notification')).toExist() + expect(rootView.find('.notification .title').text()).toBe 'Gist 1 created' advanceClock(2000) expect(rootView.find('.gist-notification')).not.toExist()