           runs ->
             expect(fs.existsSync(path.join(moduleDirectory, 'node_modules', 'test-module', 'index.js'))).toBeTruthy()
             expect(fs.existsSync(path.join(moduleDirectory, 'node_modules', 'test-module', 'package.json'))).toBeTruthy()
+            expect(callback.mostRecentCall.args[0]).toBeUndefined()
 
   describe 'apm list', ->
     [resourcePath, atomHome] = []

http = require 'http'
wrench = require 'wrench'
apm = require '../lib/apm-cli'
mkdir = require('mkdirp').sync

describe 'apm command line interface', ->

            expect(fs.existsSync(existingTestModuleFile)).toBeFalsy()
            expect(fs.existsSync(path.join(testModuleDirectory, 'index.js'))).toBeTruthy()
            expect(fs.existsSync(path.join(testModuleDirectory, 'package.json'))).toBeTruthy()
            expect(callback.mostRecentCall.args[0]).toBeUndefined()

      describe 'when no path is specified', ->
        it 'installs all dependent modules', ->
