diff --git a/tasks/test-task.coffee b/tasks/test-task.coffee index 69d0fb0ba..857f098f3 100644 --- a/tasks/test-task.coffee +++ b/tasks/test-task.coffee @@ -9,6 +9,6 @@ module.exports = (grunt) -> commands.push (callback) -> spawn cmd: 'pkill', args: ['Atom'], -> callback() commands.push (callback) -> - atomBinary = path.join(CONTENTS_DIR, 'MacOS', 'Atom') + atomBinary = path.join(grunt.config.get('atom.contentsDir'), 'MacOS', 'Atom') spawn cmd: atomBinary, args: ['--test', "--resource-path=#{__dirname}"], (error) -> callback(error) grunt.util.async.waterfall commands, (error) -> done(error)