From cd37caae96c5a78220e06423f40a0374feaddcde Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 20 Nov 2013 16:38:52 -0800 Subject: [PATCH] Add atom prefix to rootView --- spec/pane-spec.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/pane-spec.coffee b/spec/pane-spec.coffee index 54fbeeefc..776a61249 100644 --- a/spec/pane-spec.coffee +++ b/spec/pane-spec.coffee @@ -482,13 +482,13 @@ describe "Pane", -> container.attachToDom() pane.focus() pane.remove() - expect(rootView.focus).toHaveBeenCalled() + expect(atom.rootView.focus).toHaveBeenCalled() describe "when the removed pane is not focused", -> it "does not call focus on root view", -> expect(pane).not.toMatchSelector ':has(:focus)' pane.remove() - expect(rootView.focus).not.toHaveBeenCalled() + expect(atom.rootView.focus).not.toHaveBeenCalled() describe ".getNextPane()", -> it "returns the next pane if one exists, wrapping around from the last pane to the first", ->