Made test run against empty project

This commit is contained in:
Corey Johnson 2012-03-30 10:22:54 -07:00
parent 8352c5cda3
commit 5b7a02534c

View File

@ -36,7 +36,7 @@ describe "RootView", ->
describe "focus", ->
it "can receive focus if there is no active editor, but otherwise hands off focus to the active editor", ->
rootView = new RootView(require.resolve 'fixtures')
rootView = new RootView({url: require.resolve 'fixtures'})
rootView.attachToDom()
expect(rootView).toMatchSelector(':focus')