Fix other WrapGuide specs

This commit is contained in:
Corey Johnson
2012-11-12 09:31:54 -08:00
parent 885717864e
commit 1d3a26e253

View File

@@ -17,10 +17,10 @@ describe "WrapGuide", ->
describe "@initialize", ->
it "appends a wrap guide to all existing and new editors", ->
expect(rootView.panes.find('.pane').length).toBe 1
expect(rootView.panes.find('.lines > .wrap-guide').length).toBe 1
expect(rootView.panes.find('.underlayer > .wrap-guide').length).toBe 1
editor.splitRight()
expect(rootView.find('.pane').length).toBe 2
expect(rootView.panes.find('.lines > .wrap-guide').length).toBe 2
expect(rootView.panes.find('.underlayer > .wrap-guide').length).toBe 2
describe "@updateGuide", ->
it "positions the guide at the configured column", ->