Create root view before loading package

This commit is contained in:
Corey Johnson & Kevin Sawicki
2013-02-07 16:27:57 -08:00
parent e959c371e3
commit e12461db88

View File

@@ -41,6 +41,7 @@ describe "AutocompleteView", ->
miniEditor = null
beforeEach ->
new RootView
editor = new Editor(editSession: fixturesProject.buildEditSessionForPath('sample.js'))
atom.loadPackage('autocomplete')
autocomplete = new AutocompleteView(editor)