Spy on atom.hide in window specs

This commit is contained in:
Kevin Sawicki
2013-09-17 11:11:01 -07:00
parent 067b2b437c
commit 89204f9077

View File

@@ -9,6 +9,7 @@ describe "Window", ->
[projectPath, windowEventHandler] = []
beforeEach ->
spyOn(atom, 'hide')
atom.getLoadSettings().initialPath = project.getPath()
project.destroy()
windowEventHandler = new WindowEventHandler()