mirror of
https://github.com/atom/atom.git
synced 2026-02-06 04:34:55 -05:00
Trigger resize event on editor before wrap guide specs
This commit is contained in:
@@ -11,6 +11,7 @@ describe "WrapGuide", ->
|
||||
editor = rootView.getActiveEditor()
|
||||
wrapGuide = rootView.find('.wrap-guide').view()
|
||||
editor.width(editor.charWidth * wrapGuide.getDefaultColumn() * 2)
|
||||
editor.trigger 'resize'
|
||||
|
||||
describe "@initialize", ->
|
||||
it "appends a wrap guide to all existing and new editors", ->
|
||||
|
||||
Reference in New Issue
Block a user