Unspy atom.setWindowState after each spec.

Spec window needs to call it to save window dimenses.
This commit is contained in:
Cheng Zhao
2013-05-28 18:23:34 +08:00
parent d4142db847
commit 0cc86b024d

View File

@@ -90,6 +90,7 @@ afterEach ->
git.destroy()
window.git = null
$('#jasmine-content').empty()
jasmine.unspy(atom, 'setWindowState')
ensureNoPathSubscriptions()
atom.pendingModals = [[]]
atom.presentingModal = false