Attach to DOM for focus specs

This commit is contained in:
Kevin Sawicki 2013-10-16 10:16:23 -07:00
parent d989aeb592
commit 7149ade43c

View File

@ -92,6 +92,9 @@ describe "RootView", ->
expect(rootView.getEditors().length).toBe 0
describe "focus", ->
beforeEach ->
rootView.attachToDom()
describe "when there is an active view", ->
it "hands off focus to the active view", ->
editor = rootView.getActiveView()