Doc test flag

This commit is contained in:
Corey Johnson & Kevin Sawicki
2013-05-29 14:57:33 -07:00
parent b91487c60f
commit fa3c636494
2 changed files with 5 additions and 5 deletions

View File

@@ -15,11 +15,10 @@ class AtomApplication
menu: null
resourcePath: null
pathsToOpen: null
testMode: null
version: null
socketPath: '/tmp/atom.sock'
constructor: ({@resourcePath, @pathsToOpen, @testMode, @version, pidToKillWhenClosed}) ->
constructor: ({@resourcePath, @pathsToOpen, @version, test, pidToKillWhenClosed}) ->
@pidsToOpenWindows = {}
@pathsToOpen ?= [null]
@windows = []
@@ -32,7 +31,7 @@ class AtomApplication
@buildApplicationMenu()
@handleEvents()
if @testMode
if test
@runSpecs(true)
else
@openPaths(@pathsToOpen, pidToKillWhenClosed)