Closes all non-spec windows opened by the app.

This commit is contained in:
Corey Johnson 2011-12-14 18:30:17 -08:00
parent 4a2081e88d
commit 9e55a00a56

View File

@ -7,9 +7,7 @@ describe "App", ->
app = new App()
afterEach ->
window.x = app.windows()[0]
setTimeout (-> window.x.close()), 1
#w.close() for w in app.windows()
window.close() for window in app.windows()
describe "open", ->
it "loads a buffer based on the given path and displays it in a new window", ->