mirror of
https://github.com/atom/atom.git
synced 2026-02-09 22:24:59 -05:00
Make RootView.initialize unaware of deserialization.
When RootView is created without a pathToOpen, no editor is created.
This commit is contained in:
@@ -5,6 +5,7 @@ describe "CommandPanel", ->
|
||||
|
||||
beforeEach ->
|
||||
rootView = new RootView
|
||||
rootView.open()
|
||||
rootView.enableKeymap()
|
||||
commandPanel = rootView.commandPanel
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@ describe "StripTrailingWhitespace", ->
|
||||
|
||||
beforeEach ->
|
||||
rootView = new RootView
|
||||
rootView.open()
|
||||
|
||||
StripTrailingWhitespace.activate(rootView)
|
||||
rootView.focus()
|
||||
editor = rootView.activeEditor()
|
||||
|
||||
Reference in New Issue
Block a user