Serialize root view font size

This commit is contained in:
Kevin Sawicki
2012-09-20 09:31:04 -07:00
parent 7278bc62c6
commit 8393af2cd6
2 changed files with 9 additions and 1 deletions

View File

@@ -530,6 +530,12 @@ describe "RootView", ->
rootView.setFontSize(0)
expect(rootView.getFontSize()).toBe 1
it "is serialized and set when deserialized", ->
rootView.setFontSize(100)
rootView.remove()
newRootView = RootView.deserialize(rootView.serialize())
expect(newRootView.getFontSize()).toBe(100)
describe ".open(path, options)", ->
describe "when there is no active editor", ->
beforeEach ->