Ensure that all windows are closed before proceeding to next spec.

This commit is contained in:
Nathan Sobo
2012-01-04 17:33:06 -07:00
parent 816f3774e1
commit ee53616d82

View File

@@ -9,6 +9,8 @@ describe "App", ->
afterEach ->
window.close() for window in app.windows()
waitsFor ->
app.windows().length == 0
describe "open", ->
describe "when opening a filePath", ->