diff --git a/README.md b/README.md index f2e4a36..287d5ab 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,8 @@ grunt.registerTask('test', ['connect', 'mocha_phantomjs']); ## Release History -* 2015-09-09   v1.0.1   fix issue when using --color=false +* 2015-09-09   v1.0.1   Fix path to phantomjs binary on windows +* 2015-09-09   v1.0.1   Fix issue when using --color=false * 2015-07-16   v1.0.0   *BREAKING* use mocha-phantomjs-core * 2015-07-16   v0.7.0   Upgrade mocha-phantomjs to 3.6.0 * 2015-07-15   v0.6.2   Lock down phantomjs to match mocha-phantomjs peerDependency diff --git a/package.json b/package.json index 2825b94..34c4b84 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "grunt-mocha-phantomjs", "description": "Run client-side mocha tests using phantomjs", - "version": "1.0.1", + "version": "1.0.2", "homepage": "https://github.com/jdcataldo/grunt-mocha-phantomjs", "author": { "name": "Justin Cataldo", diff --git a/tasks/mocha_phantomjs.js b/tasks/mocha_phantomjs.js index 148bd48..ce7343c 100644 --- a/tasks/mocha_phantomjs.js +++ b/tasks/mocha_phantomjs.js @@ -38,7 +38,7 @@ module.exports = function(grunt) { config = _.extend({ useColors: true }, options.config), files = this.filesSrc, args = [], - phantomPath = lookup('phantomjs/bin/phantomjs', true), + phantomPath = lookup('.bin/phantomjs', true), mochaPhantomPath = lookup('mocha-phantomjs-core/mocha-phantomjs-core.js'), urls = options.urls.concat(this.filesSrc), done = this.async(),