Replace RootView.getActiveEditor() with getActiveView()

This commit is contained in:
Kevin Sawicki
2013-02-21 17:49:42 -08:00
committed by probablycorey
parent 062adae714
commit ff899e9c1b
2 changed files with 7 additions and 7 deletions

View File

@@ -8,7 +8,7 @@ describe "WrapGuide", ->
rootView.open('sample.js')
window.loadPackage('wrap-guide')
rootView.attachToDom()
editor = rootView.getActiveEditor()
editor = rootView.getActiveView()
wrapGuide = rootView.find('.wrap-guide').view()
editor.width(editor.charWidth * wrapGuide.getDefaultColumn() * 2)
editor.trigger 'resize'